I am trying to create a jcarousel slider with images downloaded from an external server. Images are saved as GIFs and named with ID: 0001.gif, 0002.gif, 0010.gif, 0011.gif ... etc. I want to display the first 99 images, but it turns out that some images do not exist. In firefox, this is not a problem since it does not have a placeholder for images that are not uploaded. But for all other browsers, the solution is to hide or remove images that are not uploaded. It seems to work fine in Chrome and Safari, but there is a caching issue in Firefox. My question is: How can I avoid this?
$(document).ready(function(){ for(var i = 0; i < 99; i++){
source share