Skip to content

mattbilson/jQuery-Retina-Display-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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>

About

Automatically loads high resolution versions of your images (if they exist) on high resolution displays

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published