A tutorial on how to create a thumbnail grid with an expanding image preview similar to the effect seen on Google Images.

Overview

Thumbnail Grid with Expanding Preview

A tutorial on how to create a thumbnail grid with an expanding image preview similar to the effect seen on Google Images.

Article on Codrops

Demo

Integrate or build upon it for free in your personal or commercial projects. Don't republish, redistribute or sell "as-is".

Read more here: License

© Codrops 2013

Comments
  • Added show visit button option to settings

    Added show visit button option to settings

    @codrops

    Noticed that this was missing a key option - the ability to turn off the "Visit" button. Added in the functionality, and defaulted it to true to maintain the old behavior for anyone already using it.

    Comments welcome, thanks!

    opened by AWelshCorgi 1
  • Width of og-expander not the same as the grid

    Width of og-expander not the same as the grid

    Hi,

    I am using a bootstrap template and want to use this plugin for showing extra info on products. I have got it working in the basics, but the og-expander never reaches 100% of the width of the items parent item.

    I have tried with my thumbnail code based on div contianer with children div's and with an UL / LI sample code as in the sample, both without success.

    How can I get the og-expander to be 100% of the items parent width.

    opened by Parcye 1
  • Having multiple instances leaves a portion of the overlay

    Having multiple instances leaves a portion of the overlay

    I need two instances of the grid, thus I changed the grid variable to: var $grid = $( '.og-grid' ).

    It all works as expected, but when I close the second instance, the upper part of the overlay doesn't close, leaving a black bar with the close icon. You can see it here: http://madebym.me/test/couch-test/corporate-video.php

    Has anyone managed to sucesfully have two or more grids?

    opened by fluxxus 1
  • not working with GridLoadingEffects

    not working with GridLoadingEffects

    Hi there,

    That's an awesome expanding preview! But I can't make it work with GridLoadingEffects (https://github.com/codrops/GridLoadingEffects).

    The .og-expander appears but it's not of the full window width and also it appears underneath of the other li thumb-images (even if I set the z-index to million).

    Any ideas, please?

    opened by Olga--Smirnova 0
  • Problems with plugin When DOM Manipulation

    Problems with plugin When DOM Manipulation

    Any Changes in DOM not working....

    In HubSpot, My DOM is bit diff. to first, i need to make it same layout like as follows. But after this, t not works....

    $(window).load(function(e) { $('li').wrapAll('

    '); Grid.init(); });

    opened by dhruvangg 0
  • Expanded View Colapses

    Expanded View Colapses

    When click on an image it expands fine, and if I close it using a close button and re-expand another image it works fine as well.

    however if click on a different thumbnail bellow the expanded view main image collapses behind thumbnails.

    screen shot 2016-08-17 at 6 59 41 pm

    opened by lvekua 3
  • open preview through code

    open preview through code

    I have the grid working beautifully, but I'd like to be able to open a particular preview in code rather than through the usual user-click on the thumb. I can't seem to hit on the right method that works. Invoking a js click event on an anchor in the grid does not work, and I can't seem to find a method on Grid that is exposed to do this. Anybody know what I am missing?

    opened by Budsy 2
  • sort function?

    sort function?

    is there a version of this with a sorting function? I have tried to use this with MixItUp, but seem to be having issues... the expanded preview still follows the next item in the list but not the next filtered item.

    opened by gdlisa15 0
Owner
Codrops
Codrops
A full image reveal effect with fancy thumbnail sliding.

Full Image Reveal Effect A full image reveal effect with fancy thumbnail sliding. Article on Codrops Demo Credits Images from Unsplash.com TweenMax by

Codrops 155 Dec 19, 2022
A subtle tilt effect for images. The idea is to move and rotate semi-transparent copies with the same background image in order to create a subtle motion or depth effect.

Image Tilt Effect A subtle tilt effect for images. The idea is to move and rotate semi-transparent copies with the same background image in order to c

Codrops 571 Nov 21, 2022
Background image segment effect as seen on [Filippo Bello's Portfolio](http://www.filippobello.com/portfolio).

Segment Effect Background image segment effect as seen on Filippo Bello's Portfolio. Article on Codrops Demo License Integrate or build upon it for fr

Codrops 526 Nov 29, 2022
A motion hover effect for a background grid of images.

Image Grid Motion Effect A motion hover effect for a background grid of images. Article on Codrops Demo Installation Install dependencies: npm install

Codrops 118 Dec 31, 2022
Recreation of the background scale hover effect seen on the DDD Hotel website using CSS clip paths.

Background Scale Hover Effect Recreation of the background scale hover effect seen on the DDD Hotel menu using CSS clip paths. Article on Codrops Demo

Codrops 98 Dec 6, 2022
Liquideffect - Javascript Library for creating liquid effect on image and RGB effect on mouse direction.

LiquidEffect Javascript Library for creating liquid effect on image and RGB effect on mouse direction. Demo https://liquideffect.netlify.app/ Dependen

Rohail 8 May 6, 2022
Demos for the tutorial on how to achieve an interactive mouseover/hover effect

Interactive Hover Effects with Three.js A simple tutorial on how to achieve an interactive mouseover/hover effect on images in some easy steps. Articl

Yuri Artiukh 246 Dec 27, 2022
Demo of the tutorial on how to craft a fullscreen SVG crosshair mouse cursor with a special distortion effect on hover.

Crosshair Mouse Cursor Distortion Demo of the tutorial on how to craft a fullscreen SVG crosshair mouse cursor with a special distortion effect on hov

Codrops 33 Sep 23, 2022
Javascript library enabling magnifying glass effect on an images

Magnifier.js Javascript library enabling magnifying glass effect on an images. Demo and documentation Features: Zoom in / out functionality using mous

Mark Rolich 808 Dec 18, 2022
Animated haze distortion effect for images and text, with WebGL.

Animated Heat Distortion Effects with WebGL A tutorial on how to use fragment shaders in WebGL to create an animated heat haze distortion effect on im

Lucas Bebber 289 Nov 1, 2022
Add a retro/vintage effect to images using the HTML5 canvas element

vintageJS Add a retro/vintage effect to images using the HTML5 canvas element. Installation $ npm install vintagejs How to use vintagejs is a functio

Robert Fleischmann 829 Dec 25, 2022
Switch the background-image with using effect.

jQuery.BgSwitcher Switch the background image with using effect. Demo http://rewish.github.io/jquery-bgswitcher/ Usage <div class="box"> <p>Lorem ip

rewish 195 Dec 30, 2022
Pure CSS Image Hover Effect Library

imagehover.css A Scaleable & Light Image Hover CSS Library Imagehover.css is a lovingly crafted CSS library allowing you to easily implement scaleable

Ciaran Walsh 1.8k Dec 21, 2022
A sticky image effect for a slideshow inspired by ultanoir's website.

How to Create a Sticky Image Effect with Three.js A sticky image effect for a slideshow inspired by ultanoir's project showcase slideshow. Article on

Daniel Velasquez 198 Nov 18, 2022
image/video/content slideshow engine providing high quality animation effects including Kenburns Effect and GLSL Transitions.

Diaporama Diaporama is an image/video/content slideshow engine providing high quality animation effects including Kenburns effect and GLSL Transitions

Gaëtan Renaudeau 797 Nov 26, 2022
KenBurns Image Effect for React Native Applications

react-native-kenburns-view KenBurns Image Effect for React Native. Based on Image Component Image Component. Version: 4.1.0 Tested on React Native 0.6

Nimila Hiranya Samarasinghe 58 Sep 3, 2022
A speedy motion transition effect for an image slideshow.

Motion Transition Effect A speedy motion transition effect for an image slideshow. Inspired by Ping Pong Slow Motion. Article on Codrops Demo Credits

Codrops 51 Jul 5, 2022
A set of effects for mouse-following image trails that show a random series of images.

Image Trail Effects A set of effects for mouse-following image trails that show a random series of images. Inspired by the effect seen on VLNC Studio.

Codrops 177 Dec 28, 2022
Warp drive is a lightweight jQuery plugin that helps you create a cool, interactive, configurable, HTML5 canvas based warp drive/starfield effect.

Warp drive jQuery plugin (jquery-warpdrive-plugin) Preview Description Warp drive is a lightweight jQuery plugin that helps you create a cool, interac

Niklas 51 Nov 15, 2022