dinbror / blazy

Hey, be lazy! bLazy.JS is a lightweight pure JavaScript script for lazy loading and multi-serving images. It's working in all modern browsers including IE7+.
http://dinbror.dk/blazy
MIT License
2.63k stars 354 forks source link

Multi-serve images doesn't seem to be working #44

Closed fitz0019 closed 9 years ago

fitz0019 commented 9 years ago

Hey,

Really nice plugin and I really want to use it. However I couldn't get the multi-serve images to work so I checked you demo page (http://dinbror.dk/blazy/) and I'm always getting the big bear image regardless of the screen size.

I'm using Windows 7 using Chrome 40.0.2214.111 and version 1.3.1 of bLazy.

Screenshot @ 340px: blazy-340

Screenshot @ 1260px: blazy-1260

Thanks,

Fitz

fitz0019 commented 9 years ago

Ah, you are looking at the device width in this case my monitor.

My problem is I don't always have my screen maximised to 1920px, so the images won't pick the correct one. I've seen in a previous reply this is how you want it to work, hence why I've closed it.