Launch Demo

    Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/unheap.com/public_html/wp-content/themes/unheapv2/library/functions/template-tags.php on line 47
  • Save
  • 37
X

Responsify.js: Subject-aware responsive images

A jquery plugin that makes images truly responsive, without sacrificing anyone’s face.

When images are used in a responsive container on web design, because the container can change to any width:height ratio, a group shot could end up cutting off people’s faces. A nice photograph following “rule of third” could end up with no object in view. Responsive images face the challenge of how to keep the focused objects/area in view, this jquery plugin is here to solve the problem.

Responsify.js does the following:

  1. It allows you define a focus area on an image using data-focus-xxx tag
  2. It takes in the focus area data from the image, calcuate the image’s container’s size, resize and position the image accordingly, make sure the focus area is always in view and in the best position possible

Responsive image with responsify.js

 

Responsive image without responsify.js

 

Illustration by akselkreis