Tutorials I've found seem to only cover creating Image Gallery content types. Any suggestions on how to make an image gallery as a field, rather than as a content type?

Ideally, I'd like to have something similar to the Photoswipe responsive galleries, but with captions, and appearing inside another content type, be it an article, basic page or in this case a new content type.

Perhaps there's simply something I'm missing about embedding one content type within another?


3 Answers 3


Make a View for your gallery and put that view in a block. Then activate that block for the desired content type; putting that block in the region you want it to appear.


Try this:

  • Create a content type with image field. Create a view for that content type.
  • create a tpl for the view
  • Within the tpl you can write your code for Photoswipe responsive galleries.

Hope this helps.


Yes you can do this. First create a content type, for example an article then create another content type called gallery and insert your images in there, its display must be slideshow. download and install entity module and create a reference from gallery to article. in this way you can determine which image belongs to which article. download and install eva module. go to this link, it is a very good tutorial of eva module (you also need to set a contexual filter which in your case is going to be your article), then as I have asked in this address a filed which is your slideshow will be attached to the manage display of article content type. now it is field of article nodes and can be reordered.

"Eva" is short for "Entity Views Attachment;" it provides a Views display plugin that allows the output of a View to be attached to the content of any Drupal entity.

The placement of the view in the entity's content can be reordered on the "Field Display" administration page for that entity, like other fields added using the Field UI module.

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.