Mimic the Envato Marketplaces Image Previews

Student iconAre you a student? Get a yearly Tuts+ subscription for $45 →

I’m often asked about how to display large image previews when you hover over thumbnails. As an example, hover over a thumbnail on CodeCanyon to see this effect. All it requires is a bit of JavaScript. I’ll show you how from scratch!