Re:Ex-YouTube Man Builds Graphics Card for Entire Internet
by kaffeinecoma on Thursday May 30, 2013 @02:19PM
(#5794183)
Stupid question: are you just doubling every pixel of a non-retina source for the @2x images? Does that really provide any extra clarity on a Retina display (beyond setting the proper size of the image?) Or are you actually starting with an @2x image and halving it for non-2x default?
Re:Ex-YouTube Man Builds Graphics Card for Entire Internet
by e98cuenc on Thursday May 30, 2013 @02:30PM
(#5794263)
The retina modifier is only useful when you request a smaller thumbnail than the original.
So your original may be 1000x1000px, you use a 128x128 thumbnail on your regular (non-retina) site, and you serve 256x256 thumbnail to your retina users.
If your original image is small then there is nothing to do.
I guess the imgix guys do something similar.
Serving different images with exactly the same URL is tricky because it will confuse the cache.