I’m dynamically loading various image galleries of different sizes (from 2 pics to 200pics) using $.fancybox.open(FB_obj,{some parameters}) with thumbnail.
Everything is working and loading and all but when the gallery exceed 60pics then here in there in the thumbnail gallery I see “empty slots” and when I click on it the error message appears “Image couldn’t be loaded etc”, for larger galleries with 150+ pics the +/- 30 last ones are never loaded.
Someone has an idea why this is happening ? I guess something with loading time maybe or the PHP_MEMORY_LIMIT (I have 256M, each pic is arround 150Kb)?
Thank you very much
Daniel
By checking the existence of each picture server-side (with jQuery/AJAX) I got a preloading effect and all the picture are now displayed correctly no matter what size the gallery is.
No need to change any parameter
Tks JFK for pointing out preloading