Skip to content

Scale images based on a container size to fit them based on gravity and zoom clipping using the container layout

License

Notifications You must be signed in to change notification settings

SiteMorph/jquery-image-scale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

jquery-image-scale

Scale images based on a container size to cover the container space using centering gravity and zoom, clipping using the container layout.

The plugin provides a single jquery function $('#.images').scaleImageToParent();

You can optionally pass a jquery selector for the parent. The first matching parent will be used. The default is to attach to the first parent div.

About

Scale images based on a container size to fit them based on gravity and zoom clipping using the container layout

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published