I am working with drupal 7 and I need to attach a gallery to the content type. I looked at the current solutions where I can create a Image content type and create node references. I am looking for something where any user would be able to contribute images, multi-upload images at the same time, if possible can also add images from URL.

Also is it possible to do something where the user can just click on a "Add images" link and the user would be presented with a image upload screen ?

3 Answers 3


There are plenty of approaches to this, the main difference being whether you use the Media module or Drupal 7 core's built in image field. The image field route I think will be simpler as you have to create your own view mode to have custom image sizes with display suite and the 7.x-2.x version is still under heavy development. See the related Media modules for options. There are modules for multiple uploads and creating image galleries.

If you choose to use D7 core's image field you can add galleries to content types with the Views Galleriffic module.

Here are Step by step instructions for D7.

You can also switch between styles.


enter image description here

Thumbnails above

enter image description here

For multiple uploads you can try Multiupload Imagefield Widget.

For a remote URL you can try Filefield Sources.

For an "Add image" button you can just create a link to the "/node/add/gallery" node or create a custom form.

  • When I say "Add Image", I want the user to be able to add images into the same gallery but not create a new gallery. Do you think thats possible ?
    – Jayaram
    May 16, 2012 at 18:56
  • I think it would be simplest to just have a link that says "Add Image" that opens the node edit form for that gallery. That will take 5 minutes. You could spend a lot longer creating a custom form that only contains a imagefield upload form and attaches it to the current node. That would be a lot of work for little gain IMO.
    – acouch
    May 19, 2012 at 2:00

On the content type, using your image field settings you can enable the number of values greater than one.

For the file source you can use FileField Sources module.

And for the gallery display you can use Gallery Formatter

  • I want to use a button which says "add images " and the user can be directed to the image upload field. Is there a way I can do this ?
    – Jayaram
    May 15, 2012 at 21:23
  • How the images uploaded by users will be stored, which content types are you using ? One image on One node ? Multiple images on One node ?
    – ropic
    May 15, 2012 at 21:26
  • multiple images in one node.
    – Jayaram
    May 16, 2012 at 18:55

Hope you have found the answer already since your question is from May. If not, and for all those who are still looking, this is a great tutorial.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.