I have two different content types, foo and bar. Foo has a hidden image field, so I use the Insert module to display the uploaded images. Bar's image field is visible and its display is handled directly by Colorbox. Both the Insert module and the Colorbox module are set to display galleries on a per-page basis. However, on my front page, which contains both foo and bar posts, the foo items appear in one gallery and the bar items in a separate gallery.

After looking at the code for each, I realized that foo's images have a 'rel' value equal to 'gallery-insert-all', while bar's images have a 'rel' value equal to 'gallery-all'. I'm thinking that both of these values should be the same so that all of the images on the front page display in the same gallery. Obviously, all I have to do is fix the 'rel' value in the html of my foo posts and my problem is solved, but it would be great if my users didn't have to worry about this once my site goes live.

Comments

frjo’s picture

Title: Images appear in different galleries depending on content type » Same gallery id for insert and image nodes when Per page gallery is set
Assigned: Unassigned » frjo
Category: bug » feature

This absolutely makes sense, thanks for suggesting it! Committed to 6-dev and 7-dev.

frjo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.