You need to figure out what you will use to show these lighbox galleries, be that plugin or some script that you add to the site. After you do that then you build a PHP script that creates the code you need and substitutes ACF field values rather that hardcoded images.
Thanks @jarvis I also use bootstrap, but I did not want to say what should be used. :). In any case, the code needed is dependent on what is used. I was also thinking the OP was saying they would use a gallery field and did not think about using other types of fields. I have created galleries using a repeater for some clients when more than an image is needed like captions and the like. But in any case how the fields are used would be dependent on the code needed for whatever is used.
Viewing 5 posts - 1 through 5 (of 5 total)
The topic ‘Adding an image gallery’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users