Javascript library to help creating high quality justified galleries of images. Used by thousands of websites as well as the photography community 500px.
I have a situation where at first the correct smaller size (e.g. TestPic05-800px.jpg) is loaded based on what I have in srcset and sizes attributes, but then the script loads the full-blown size of the image (e.g. TestPic05.jpg) and sets it as the thumbnail.
I thought OK, it might be the script is loading the big size based on what is in the src attribute. So tocheck it, I have set thumbnailPath to the smaller image (I know it is hardcoded, but it is just to illustrate the issue).
I have a situation where at first the correct smaller size (e.g. TestPic05-800px.jpg) is loaded based on what I have in![image](https://user-images.githubusercontent.com/47209189/52164320-3dacf200-26f8-11e9-9c74-abc15e014068.png)
srcset
andsizes
attributes, but then the script loads the full-blown size of the image (e.g. TestPic05.jpg) and sets it as the thumbnail.I thought OK, it might be the script is loading the big size based on what is in the
src
attribute. So tocheck it, I have set thumbnailPath to the smaller image (I know it is hardcoded, but it is just to illustrate the issue).But it did not help. The script is still loading the big image after the small one![image](https://user-images.githubusercontent.com/47209189/52164299-d7c06a80-26f7-11e9-958e-83332126d365.png)
Any ideas?