05 July, 2013

jQuery Fitpic 0.0.5


Developer:

Website:

License / Price:

Platforms:

Databases:

Language:

Last Updated:

Category:
Yannick Albert | More scripts
github.com
MIT License 

Windows / Linux / Mac OS / BSD / Solaris
N/A
JavaScript
July 6th, 2013, 01:58 GMT [view history]
C: \ Image Galleries \ Image Tools

jQuery Fitpic will dynamically resize and truncate background images so they perfectly fit inside the visible viewport.

While the same effect can be achieved via CSS3's background-size: cover property, that method leaves blank spots when the browser is resized to various aspect ratios that don't coincide with the photo's aspect ratio.

jQuery Fitpic fixes this problem by constantly calculating and resizing the image, so none of its dimensions are smaller than the viewport size.

A simple demo is included with the download package.

Requirements:

· JavaScript enabled on client side
· jQuery 1.8 or higher

Limitations:

· No documentation (planned).

What's New in This Release: [ read full changelog ]

· Fixed typo.


download button
Via: jQuery Fitpic 0.0.5

0 Comment: