I am attempting to use the above code to hide broken images within an image slider.
It works perfectly, but there is still blank space where the images *should* be. I believe it is because the images are within a list..what can I add to the JS code that will hide everything rather than just the images?
I forgot to clarify that it is mainly the thumbnails I am trying to correct.. we are using template tags to pull in the image location, yet they are not all used in every application. I am hoping to find a solution that would hide the broken/unused images & re-align the thumbnails if possible.
Hopefully this is a much better message than the one I originally posted..
> we are using template tags to pull in the image location, yet they are not all used in every application.
This is going to be used for thousands of different “pages” where specific information can be populated using template tags. The images are just one of the many things that can be pulled in using the tags, as they are different each time this gallery will be used.
Unless someone knows a good way to do this, even if JS isn’t required that’s fine, then I won’t be using the image gallery..