Magento product image switcher

I just wrote small javascript animation example for product images and thought someone may find it useful. It’s a fast way to replace default zoom functionality for the ones that don’t like it.

I’m actually trying to merge something like this with default zoom, but i’m not finished yet. Anyway, i left all javascript and styling in media.phtml file, so just download the file


and replace it with your own at

It was made with default Magento theme. Enjoy.

You made it all the way down here so you must have enjoyed this post! You may also like:

Feb 23, 2016

Sorry, we can’t ship there

/ Leave a comment
Aug 20, 2015

Shell script for converting configurable to grouped products

/ Leave a comment
Adding product image lightbox effect using jQuery plugin (a better way) Oct 08, 2012

Adding product image lightbox effect using jQuery plugin (a better way)

/ Leave a comment


  1. hide the zoom option for product images with less resolution in magento


    first of all, sorry for disturbing you here.

    please visit this link :, you can see there is a zoom option on the products images

    if we upload smaller images as like here :

    the product image is not zooming properly

    so i want to hide the zooming option for images with less than 400 * 400 pixels.

    please help me to find some solution.

    thanks in advance

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <blockquote cite=""> <code> <del datetime=""> <em> <s> <strike> <strong>. You may use following syntax for source code: <pre><code>$current = "Inchoo";</code></pre>.