miromannino / Justified-Gallery

Javascript library to help creating high quality justified galleries of images. Used by thousands of websites as well as the photography community 500px.
http://miromannino.github.io/Justified-Gallery/
MIT License
1.68k stars 298 forks source link

Error handling #361

Open NatalyR opened 2 years ago

NatalyR commented 2 years ago

Hello,

I'd like to ask you a question i haven't found a solution here and that can be seen on Justified Gallery website, on "Errors handling" page (http://miromannino.github.io/Justified-Gallery/errors-handling/). What i want is the image with src not found to be shown anyway (with the default broken image) so i can see some pictures are missing, and as i am displaying text for each picture, even if picture is missing, text need to be shown. From what i understand they are hidden and only a error is displayed in the console. But on the "Errors handling" page the "broken image" is shown, which is exactly what i want. How can i make this to always happen ?

Thank you in advance for your help,

Nataly

screenshot_justifiedgallery_error_missing_src