Skip to content

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

Notifications You must be signed in to change notification settings

ckepper/jQuery-Retina-Display-Plugin

This branch is 2 commits ahead of mattbilson/jQuery-Retina-Display-Plugin:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

63f7e6a · Nov 23, 2011

History

9 Commits
Oct 31, 2011
Nov 23, 2011

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