Is there a way to compare two image files that have different filenames? So I am looking to see if they are equal with javascript. Is this possible?
The use for this: I have a gallery of images that needs to pop up in the lightbox. When the lightbox opens, I am hooking into the callback to check for the duplicate images and when found, remove them from the lightbox gallery so users are not seeing repeated images.