Cookie consent

AstroBin saves small pieces of text information (cookies) on your device in order to deliver better content and for statistical purposes. You can disable the usage of cookies by changing the settings of your browser. By browsing AstroBin without changing the browser settings, you grant us permission to store that information on your device.

I agree

Provide higher-res preview in "technical card" view, for Retina and high-DPI displays

frankz
17 Jul, 2018 21:48
When viewing the "technical card" page with a computer equipped with a Retina or other high-DPI display, the image looks blurry because it is offered to the browser as a 72 dpi image although the display resolution is higher.

Other sites, like Flickr, provide a high-DPI version for clients equipped with high-DPI displays, and the appearance is much better. They accomplish this by pointing the IMG tag to a higher-resolution version of the image, but then scaling it down to a small size. In the following example from Flickr:

<img width="723" height="482" src="//c1.staticflickr.com/2/1785/29563409628_888229d2dd_h.jpg" class="main-photo" alt="The Pacman Nebula, NGC 281, in Cassiopeia | by Frankz">

the actual image pointed to is a 1600x1067 pixel version, but the browser is instructed to scale it down to less than a quarter its size. The result, viewed from a high-DPI display, is a much sharper and finer detailed image.

Please implement something similar in Astrobin. It would remove the need to also host pictures on Flickr.

Thanks!
Francesco
jrista
08 Sep, 2018 03:22
+1
 
Register or login to create to post a reply.