inWebson.com - Archives (septembre 2012)

Web Design and Blogging Tips

Le: 28 09 2012 à 08:13 Auteur: Kenny

imgCentering.js is a lightweight jQuery plugin (less than 1kB with minified) that help to center and resize images/pictures based on its original ratio within a fix dimension container. DEMO DOWNLOAD The reason I wrote this plugin is because I had faced some difficulty in centering my images during my work due to non-standard sizes of images provided by clients. Perhaps you had faced this before. So I decided to convert my script to a simple [...]