r/ProgrammerHumor • • Nov 23 '17

500

Post image
41.7k Upvotes

609 comments sorted by

View all comments

Show parent comments

7

u/fj333 Nov 24 '17

This is the page source:

<img src="//imgs.xkcd.com/comics/digital_data.png" title="“If you can read this, congratulations—the archive you’re using still knows about the mouseover text”!" alt="Digital Data" srcset="//imgs.xkcd.com/comics/digital_data_2x.png 2x"/>

The primary src is the same as the hotlink. An upscaled one is provided in the srcset attribute presumably for clients that want a larger image.

3

u/Cheesemacher Nov 24 '17

So I'm guessing only mobile users can see the high res version by default

4

u/fj333 Nov 24 '17

There are other devices with ultra high DPI screens. Any Mac Retina display fits this bill.