Skip to content
Automatically loads high resolution versions of your images (if they exist) on high resolution displays http://troymcilvena.com/post/998277515/jquery-retina
JavaScript
Find file
Latest commit 63f7e6a @mcilvena Updated version details.
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.