Image Gallery on a Page

Events happening in the community are now at Drupal community events on www.drupal.org.
mlecha's picture

I'm wondering what site builders are using to create a gallery on a page of content? Seems to be one of those things that's easy with core Wordpress (but not without issues there too!)

Browsing around I see lots of tutorials that create an "image gallery" content type.
I'd like to include galleries in regular pages of content and be easy for the end user to create and add to page.

Node Gallery looks popular with 9,000 sites using it.
https://www.drupal.org/project/node_gallery

I'll start there. Just curious.

Comments

Many options...

joel_osc's picture

I would just use an appropriate field formatter... we're big fans of the wetkit distro which provides a 'Wetkit Lightbox' field formatter that you can configure when you add the field to your node_view page override (page manager).

Another great option is the flexslider http://www.drupal.org/project/flexslider field formatter provided by the flexslider module. Again, this can be configured on the field in page manager.

Re: creating an image gallery

chris.smith's picture

Hi @mlecha

Often, I try to keep my implementations as close to the core of Drupal as possible.

If you use a content type and taxonomy to store the images and their respective galleries, then you can use Views and the Views Slideshow module to create a gallery.

Using this approach, you will have a lot more flexibility in your implementation than if you choose a gallery module, like node_gallery.

Let me know if you have any questions,

Chris

In my unbiased opinion

minoroffense's picture

I would also recommend FlexSlider.

--
Mathew Winstone
CEO/Co-Founder - Coldfront Labs Inc.
http://coldfrontlabs.ca
@mathewwinstone

Thanks for the advice

mlecha's picture

All comments were much appreciated.

I ended up creating an Image Gallery content type with a "Multiupload Imagefield Widget" and used Colorbox as the formatter, at least for now.

Then added an entity reference field on my News Items to associate an optional image gallery to a posting.

@chris.smith but like the idea of using a taxonomy.

The results are here:
http://bigsoulproject.com/news/2015/summer-concert-lansdowne-park

Thanks again!

@mlecha - Looks great! Glad

chris.smith's picture

@mlecha - Looks great! Glad it worked out.

Ottawa

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week