Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Automatically loads high resolution versions of your images (if they exist) on high resolution displays
JavaScript
branch: master
Failed to load latest commit information.
README Update README
jquery.retina.js Updated version details.

README

Author: Troy Mcilvena
Website: http://www.troymcilvena.com
Twitter: @mcilvena

See this pull request for the difference between this fork and the original
https://github.com/mcilvena/jQuery-Retina-Display-Plugin/pull/2

Usage:

$(element).retina([<filename_suffix:default=-2x>]);

Example:

<script src="js/jquery.retina.js" type="text/javascript" charset="utf-8"></script>

<script type="text/javascript">
	$(document).ready(function() {
		$('img.retina').retina();
	});
</script>
Something went wrong with that request. Please try again.