Magento product image switcher

Featured Image

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

media.phtml.rar

and replace it with your own at
app/design/frontend/default/yourtheme/template/catalog/product/view/media.phtml

It was made with default Magento theme. Enjoy.


About Ivan Weiler

Technical Educator and Consultant

Ivan is a Technical Educator and Consultant. He gained lots of experience managing some of the most complex Magento projects we had at Inchoo.

Read more posts by Ivan / Visit Ivan's profile

52 comments

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

    hi,

    first of all, sorry for disturbing you here.

    please visit this link :

    http://kidsdial.com/chair.html, you can see there is a zoom option on the products images

    if we upload smaller images as like here :

    http://kidsdial.com/microsoft-wireless-optical-mouse-5061.html

    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>.