Remove duplicates in automatically generated gallery?
-
Hi
I think ur plugin is great. I wonder if there are any options to remove duplicates from a gallery.
My issue is this. I have “sections” of images that are generated from ACF-repeater field.
eg.
<div class="image-normal"><a href="fullsize-image">Image</a></div> <div class="image-minor"><a href="fullsize-image">Image</a></div>The reason why I have that is that I need to scale them differently depending on the resolution that the user uses (and their “standing” and “laying” images so I show some at some point and hide some of the images at another point.
When the lightbox gallery is generated there are two of each image (of course).
So my question is: Are there any way of removing duplicates from the automatically generated gallery from an acf-field?
The topic ‘Remove duplicates in automatically generated gallery?’ is closed to new replies.