Ghost images in gallery?
I have a gallery which I'm trying to sort on a webpage by one of the image fields using <perch if: different> on a small template to generate a list of the different "categories" of image. I was getting some repeated results at the end of the list so I tried to debug and found that perch_gallery_images() is returning some empty results in between the last couple of images in the gallery and hence creating false positives for <perch if: different>.
Indeed, there are 36 returns for a gallery of 33 images. I never noticed before because this site usually filters the gallery by an "include" field.
Is this normal behaviour? Might these be photos that were previously deleted? Is there a way round this? Apologies if I'm being stupid in some way I haven't realised...
Want to reply to this thread?Login with Perch