nowfound

Life & fun · July 11, 2014

Dense

jQuery plugin for serving device pixel ratio aware images

Dense launched on July 11, 2014 with 63 votes, #985 of 2,263 launches that month. The site was still online in September 2026, 12 years on.

What it does

Dense is a jQuery plugin that offers an easy way to serve device pixel ratio aware images, bringing in retina support to your website. Clear the blurry, images be crisp. Your device pixel ratio was seen as and rounded up to . As such, you are seeing the x variation of the above image. The image tag doesn't define data- x attribute, so we are defaulting to src . If the image doesn't specify any data- n x attributes, retina image paths are constructed by appending a _{ratio}x suffix to the src . For /img/image.jpg 2x retina image would be looked from /img/image_2x.jpg . Want complete barebone example to fiddle with? We got this basic demo . Complete, working code, collection of the most…from dense.rah.pw

Does a similar job

all alternatives →
  • Retina Check2017 · lkc.com · ▲133

    Visualise images pixel density on any webpage

  • Image Blur2016 · msurguy.github.io · ▲203

    JS Image blurring background plugin

  • Pixel Drifter2014 · pixeldrifter.tumblr.com · ▲69

    A powerful pixel-sorting tool written in Java

  • Adaptive images2015 · adaptive-images.com · ▲117

    Deliver smaller images to smaller devices.

  • Pixel Perfect Handbook2014 · ustwo.com · ▲176

    A comprehensive handbook on digital design

  • Snowflake2015 · ▲97

    Pixel density converter widget for Mac

More life & fun this month

the category →

Source: Product Hunt launch ↗

Launched alongside, July 2014

the whole month →