Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

maxImage Image Scaling


Average rating
(4 votes)

This plugin will resize targeted images to their max width according to the browser, their ratio, and some simple specs.

Every time a user resizes the browser, the images will resize with it, while retaining it's ratio. The images can resize based on the width only, the height only, or both. I have also added the option to make your image a background image. The plugin find the width of your browser and the ratio of your image and then resizes it accordingly.

These are the editable settings and their defaults:
verticalOffset: 0
horizontalOffset: 0,
leftSpace: 0,
topSpace: 0,
rightSpace: 0,
bottomSpace: 0,
position: 'absolute',
isBackground: false,
zIndex: -10,
maxFollows: 'both',
verticalAlign: 'bottom',
horizontalAlign: 'left',
maxAtOrigImageSize: false,
slideShow: false,
slideDelay: 5, // In seconds
slideShowTitle: true,
loadingGif: 'images/loading.gif',
loadingGifWidth: '32px',
loadingGifHeight: '32px'

Releases

Official releasesDateSizeLinksStatus
1.1.32010-Mar-1512.23 KBRecommended for 1.3.xThis is currently the recommended release for 1.3.x.