Slimsy issue when browser is made smaller then bigger
I have an issue with Slimsy where it is working but only if I make the page smaller or refresh once I make it larger again?
I have a page with a large 1600px wide image so if I start with my browser window at 1800px wide (the image sits nicely centred with 100px either side)
I then shrink the browser window down to 400px wide again it all works nicely and I can see in the inspector the other versions of that image all loading as expected although possible not needed as the larger image would already be cached by the browser (I am also using the bootstrap class “img-responsive” to scale it down).
However, as soon as I make the browser window larger again back to say 1000px the image remains at the smaller (480px wide) size until I refresh the browser.
Slimsy issue when browser is made smaller then bigger
I have an issue with Slimsy where it is working but only if I make the page smaller or refresh once I make it larger again?
I have a page with a large 1600px wide image so if I start with my browser window at 1800px wide (the image sits nicely centred with 100px either side)
I then shrink the browser window down to 400px wide again it all works nicely and I can see in the inspector the other versions of that image all loading as expected although possible not needed as the larger image would already be cached by the browser (I am also using the bootstrap class “img-responsive” to scale it down).
However, as soon as I make the browser window larger again back to say 1000px the image remains at the smaller (480px wide) size until I refresh the browser.
Am I missing something?
Hi Jack, are you using v1 or v2?
Thanks for the fast reply - I am using the latest version "2.0.0-beta2"
Cool, can you check that all the images have display:block style applied to them?
Hi Jeavon,
Yes they did however looking at the CSS again has helped me find the issue.
I was using the bootstrap class of "img-responsive" this width was causing the issue.
To fix I have added this bit of CSS and it seems to be working now:
Thanks for your time!
Great!
is working on a reply...