Include image gallery in a details page

Dec 1, 2015 at 5:01 AM
Edited Dec 1, 2015 at 5:02 AM
Are there any example apps where the detail view of an item includes an image gallery? I can make an app that shows a list of items and then links to a details page (based on Employee Directory) but I'm really unsure how to then also included a list inside the details view template to allow for an image gallery.

Basically I'm trying to set up a portfolio where thumbnails link through to a details view that contains an image gallery, description....
Dec 1, 2015 at 7:23 AM
I have done this in 2 ways

One make a content type that contains an image and let people add the images there and from the employee entity you can just have an entity field linking to this one so you can add unlimited images. This works best when there is only one admin

Another way I have done this is in a content type just add 5 image entities and in your tempalte just chack if each of the is empty if not inlude them in your gallery.

Dec 1, 2015 at 8:58 AM
Thanks Armand, I will have a go at this tomorrow, the second option could work for me in this case.