|
Usually when trying to fit an image inside a container at a different aspect ratio, some space is left to the side of the image.
imgLiquid fixes this issue by resizing and cropping the image at the same time to perfectly cover the visible area of the container it has to fill.
It works the same way as the CSS 3 "background-size: cover" property.
A demo is included with the download package.
Requirements:
· JavaScript enabled on client side
· jQuery 1.3.2 or higher
What's New in This Release: [ read full changelog ]
· Added jQuery package JSON file.
Via: imgLiquid 0.7.7
0 Comment:
Post a Comment