I have the Image module installed, but would like to duplicate the content type using CCK, any ideas how I can do that?

Comments

rschwab’s picture

Can you be more specific - what are you trying to do?

Image has several parts to it: the image upload, the thumbnail, taxonomy and views integration. If you want everything from the Image module, why not just use that?

- Ryan

Manamarak’s picture

Well, I do have Image module installed and I use it's content type, but I need another content type just like it.

It's a bit long and complicated really, but the reason I need to make a duplicate of the Image content type is that I need two different content types for creating two different 'node gallery' image content types. In theory, Node Gallery should allow you to do use a newly created content type as a base for the node gallery's image type, but in practice, I have found that the full the image nodes do not display unless I use the content type originally created by the image module.

metaface’s picture

I think you can just Export the content type, manually change the exported content type's 'name' and 'type' values and then re-import it.

Note: I have not tried this.

This post describes how to Export/Import a CCK content type:
http://drupal.org/node/322675

-Dave

calefilm’s picture

Because this uses the Gallery module... i've tried and can't duplicate the Image Gallery. But of course, maybe you can I just don't know the code to adjust on my own.