Community

Need two image fields in one content type, not multiple values

I have a site with a content type that needs two separate image fields (field_image_gallery and field_image_header)

The field_image_gallery is used to hold all the images for the gallery formatter module.

The field_image_header is will display a header on the rendered page.

When I try adding the second field and making it type "Image", I get an error that I cannot add a second field of the same type.

In Drupal 6, I got around this by making one of them a "File" using the image widget, but the image widget is no longer there.

Am I going about this wrong? If so what is the proper way to handle this kind of requirement?

Thanks in advance for any help,

Steven

Comments

Media Module solved issue

I think I have this figured out. I had installed the media module earlier, but had not used it. Once I installed it, I could make the File type display as a rendered file.

As long as the machine name

As long as the machine name is different you should be able to add more than one image field to a content type.