background preloader

jQuery Image

Facebook Twitter

jQuery CollagePlus - an image gallery plugin by Ed Lea. Caption Hover Effects. A tutorial on how to create some subtle and modern caption hover effects.

Caption Hover Effects

View demo Download source Today we want to show you how to create some simple, yet stylish hover effects for image captions. The idea is to have a grid of figures and apply a hover effect to the items which will reveal a caption with the title, author and a link button. For some of the effects we will use 3D transforms. The aim is to keep the effects subtle and provide inspiration for many different variations. Please note: this only works as intended in browsers that support the respective CSS properties. The images used in the demos are Dribbble shots by talented Jacob Cummings. Let’s get started. The Markup The structure of our grid and the figures will be made of an unordered list and each item will contain a figure element. This is the default structure for all the grid examples. But first let’s define the common styles for all effects. The CSS The common styles for all the figures is the following.

Effect 1 Effect 2. jQuery Unveil - A very lightweight plugin to lazy load images. Most of us are familiar with the Lazy Load plugin by Mika Tuupola.

jQuery Unveil - A very lightweight plugin to lazy load images

This plugin is very useful and it boosts performance delaying loading of images in long web pages because images outside of viewport (visible part of web page) won't be loaded until the user scrolls to them. Lazy Load has some cool options such as custom effects, container, events or data attribute. If you're not gonna use any of them you can reduce the file size by leaving just the essential code to show the images. That's what I did and this is my lightweight version of Lazy Load with support for serving high-resolution images to devices with retina displays - less than 1k.

Usage Use a placeholder image in the src attribute - something to be displayed while the original image loads - and include the actual image source in a "data-src" attribute. jQuery-Fakecrop: Cropping Images with jQuery - Vuong Nguyen. Once in a while, you just want to display a collection (or more) of images with different dimensions.

jQuery-Fakecrop: Cropping Images with jQuery - Vuong Nguyen

The problem seems easy enough. The task of manually creating thumbnail for each image is quite tedious and it’s definitely not worth the trouble to write a script to generate the thumbnails either. Let’s face it, this starts to feel… annoying. Now, being a problem solver and a big proponent of DRY, I created jQuery-Fakecrop, a jQuery plugin. jQuery-Fakecrop takes a collection of images and automatically scale them to fit a custom-defined bounding box. Below is the demo as well as the links to download & fork this plugin.

Quick Start Normal NOTE: Since every image in this collection has extremely different dimensions, I restricted the height of the images to 100 pixel in CSS so this part of the page doesn’t look so… terrible. With Fakecrop (default) $('#fakecrop-fill img').fakecrop(); Public domain photographs courtesy of United State Department of Agriculture. Image sharing made simple. 3D Thumbnail Hover Effects. A touchable jQuery lightbox. jQuery lightbox for images, videos, YouTube, iframes, ajax. Jqueryrotate - jQuery plugin that rotate images (and animate them) by any angle. You can also try contact me here: This is a small plugin for jQuery that adds a nice feature to rotate images (img html objects) by a given angle on web pages.

jqueryrotate - jQuery plugin that rotate images (and animate them) by any angle

An experimental version 3 tries to rotate all objects, but with some small issues. You can find 3rd version in here This is a simple plugin to allow you to rotate images (any angle) directly on client side (for ex. user generated content), and animate them using own functions. Main focus is to unify this behavior across different browsers. Internet Explorer 6.0 > Firefox 2.0 > Safari 3 > Opera 9 > Google Chrome Include script after including main jQuery. Please put all issues into a ISSUES page. To support so many old browsers there are few techniques being used: For modern browsers (Safari, Chrome, Opera, IE 9) plugin uses native CSS3 attributes (-ms-transform, -transform-property, -webkit-transform, -o-transform). Can3p/iviewer. Lazy Load Images jQuery Plugin. HEADS UP!

Lazy Load Images jQuery Plugin

This article was written in 2007. Information provided might not be valid anymore and should be taken with a grain of salt. Lazyloader is inspired by YUI ImageLoader Utility by Matt Mlinac. After reading YUI introduction I though this is cool! After reading through source thought changed to this needs some jQuery simplicity So I stole borrowed couple of great ideas from Matt’s code. What does it do? It delays loading of images in (long) pages.

From Wikipedia: Lazy loading is a design pattern commonly used in computer programming to defer initialization of an object until the point at which it is needed. That said Matt’s code does much more. Show me more! Demo page is available. Related entries: Sequentially Preloading Images With jQuery When asking a question please include an URL to example page where the problem occurs.

jQuery Zoom