GSoC/GCI Archive
Google Code-in 2013 Wikimedia

File pages should use HiDPI 'srcset' attribute for the main image

completed by: Thomas Lam

mentors: Bartosz DziewoƄski

The image rendering on the File page doesn't use a HiDPI srcset, causing it to look rather pixelated on HiDPI displayed, especially when coming from a page where a thumbnail is shown of the image.

Please reuse the code that generates the srcset attribute for image thumbnails.

See this bug report for more information. Students are required to read Wikimedia's general instructions first.