ElevateZoom - Uncaught TypeError: undefined is not a function - Magento 1.9.1 RWD

ElevateZoom - Uncaught TypeError: undefined is not a function - Magento 1.9.1 RWD

October 1, 2026 · Illustrated author avatarBy Stefan Bogdanescu
ElevateZoom - Uncaught TypeError: undefined is not a function - Magento 1.9.1 RWD

Debugging ElevateZoom Issues on Magento 1.9.1 RWD

I recently faced an issue while working on a Magento 1.9.1 CE project where the image zoom and “More Views” functionality was broken on the product view page. This guide will help you troubleshoot and resolve this common problem.

The Symptoms

Upon visiting a product page, like this example, the image zoom feature and the ability to select additional images from the “More Views” section were not working as expected.

The Error Message

After inspecting the console logs, I encountered the following JavaScript error:

Uncaught TypeError: undefined is not a function
    app.js:1194
    ProductMediaManager.createZoom    app.js:1194
    ProductMediaManager.initZoom       app.js:1256
    ProductMediaManager.init           app.js:1268
    (anonymous function)               app.js:1277
    c   jquery-1.10.2.min.js:4
    p.fireWith  jquery-1.10.2.min.js:4
    x.extend.ready  jquery-1.10.2.min.js:4

Possible Causes and Solutions

There are several possible reasons for this issue, but the most common culprits are:

1. Incompatible JavaScript Libraries

Ensure that all your JavaScript libraries (jQuery, ElevateZoom plugin, etc.) are compatible with each other and with Magento’s core JavaScript files.

2. Misconfigured or Missing CSS/JS Files

Check if the necessary CSS and JS files for the image zoom functionality are properly included in your page layout:

<reference name="head">
    <action method="addCss"><css file="js/lib/jquery.elevateZoom-3.0.8.min.css" /></action>
</reference>

3. Incorrect Product Image Configuration

Make sure the product images are configured correctly in the admin panel, with the proper base image, small image, and thumbnail settings.

Troubleshooting Steps

  1. Check for JavaScript Conflicts: Inspect your app.js file and ensure there are no conflicting or overlapping functions causing the error.

  2. Inspect Your CSS Files: Verify that all necessary CSS files (like jquery.elevateZoom-3.0.8.min.css) are correctly included in your page layout.

  3. Review Your Product Images: Double-check that the product images in the admin panel have proper base, small, and thumbnail settings assigned.

  4. Reset JavaScript Files: Try resetting your JavaScript files to their default Magento state by deleting or renaming your js folder and running a cache refresh.

  5. Update Your Extensions: Ensure all third-party extensions are compatible with your current Magento version and update them if necessary.

Conclusion

When facing image zoom issues on Magento, it’s essential to systematically check for incompatible JavaScript libraries, misconfigured CSS/JS files, and incorrect product image settings. By following the troubleshooting steps outlined above, you should be able to identify and resolve the issue quickly.

Remember that proper debugging techniques, such as inspecting console logs and reviewing file configurations, are crucial for pinpointing the root cause of any JavaScript errors in Magento.

If you need further assistance or expert guidance on optimizing your Magento store’s performance, feel free to reach out to our team at LaravelCompany. We’re always here to help!

Magento 1 Catalog Database Extensions

Our network