angular-retina

Add support for Retina displays when using an HTML element with attribute <img ng-src="...">
4 people use it
Author: 1132472?v=3 jrief

angular-retina

Replace AngularJS directive "ng-src" for image tags by a version which supports Retina displays.

Build Status

Applications supporting Retina displays should include two separate files for each image resource. One file provides a standard-resolution version of a given image, and the second provides a high-resolution version of the same image.

If the browser runs on a high-resolution display, and if the referenced image is available in high-resolution, the corresponding image in high-resolution is referenced. ngRetina also rewrites image tags, if they contain a static image url, ie. one without any mark-up directives.

comments powered by Disqus
This page was last updated about 4 years ago.