Title: a.imagesLoaded is not a function
Last modified: March 31, 2018

---

# a.imagesLoaded is not a function

 *  Resolved [gibertb](https://wordpress.org/support/users/gibertb/)
 * (@gibertb)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/a-imagesloaded-is-not-a-function/)
 * Hello,
 * I just tried your plugin on my vm and I assigned few images one by one by selecting
   a variation for each.
    On the product page I have a JS error : `Uncaught TypeError:
   a.imagesLoaded is not a function from svi-frontend.min.js:1`
 * I double checked and I have this include present in my page :
    [http://local.tlk.test/wp-content/plugins/smart-variations-images/assets/vendor/imagesloaded/js/imagesloaded.pkgd.min.js?ver=1](http://local.tlk.test/wp-content/plugins/smart-variations-images/assets/vendor/imagesloaded/js/imagesloaded.pkgd.min.js?ver=1)
 * Is there anything missing?
 * Thank you for you help,
 * Baptiste
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fa-imagesloaded-is-not-a-function%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [RosendoLabs](https://wordpress.org/support/users/drosendo/)
 * (@drosendo)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/a-imagesloaded-is-not-a-function/#post-10133926)
 * Did you go to WooCommerce > SVI > layout issues and activate imageloaded?
 * This will solve the conflit.
 * Cheers,
    David
 *  Thread Starter [gibertb](https://wordpress.org/support/users/gibertb/)
 * (@gibertb)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/a-imagesloaded-is-not-a-function/#post-10134237)
 * Thank you!
 * I don’t have any JS error anymore but I don’t see any changes, all colors images
   are displayed in the page and switching color does not change anything.
    Should
   I open a different support question for this?
 *  Plugin Author [RosendoLabs](https://wordpress.org/support/users/drosendo/)
 * (@drosendo)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/a-imagesloaded-is-not-a-function/#post-10134253)
 * Did you follow my steps mentioned on the sticky post located here in the support?
 *  Thread Starter [gibertb](https://wordpress.org/support/users/gibertb/)
 * (@gibertb)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/a-imagesloaded-is-not-a-function/#post-10134274)
 * **Is SVI running in menu WooCoommerce > SVI?**
    Yes.
 * **Are you using at least PHP 5.6.30?**
    PHP 7.0.28-1+ubuntu14.04.1+deb.sury.org
   +1 (cli)
 * **Have you followed instructions as explained in the Screenshots of the plugin
   page?**
    Yes
 * **There is NO Bulk Variation Assign in free version you have to do it image by
   image in the Product Gallery.**
    I did one image by one image.
 * **Variation assignment is done in the Product Gallery (situated below the main
   image) not in the Variations TAB**
    Yes I have one main image setup and below
   I see the one I setup in the gallery with slugs.
 * **Try debugging, disable everything plugin except my plugin and WooCommerce &
   reduxframework, then if it works enable each plugin one by one until issues shows
   up again.**
    This is a fresh WP+ WC install but a custom theme from a different
   integrator… I’m trying to debug 🙂
 *  Plugin Author [RosendoLabs](https://wordpress.org/support/users/drosendo/)
 * (@drosendo)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/a-imagesloaded-is-not-a-function/#post-10134299)
 * Im currently not on a computer(mobile) to help…
    But if you have everything setup
   correctly than i can only guess that the theme is not aplyibg proper hooks or
   you are using a swacthes plugin (changes the look of the dropdons) that is not
   compatible.
 *  Thread Starter [gibertb](https://wordpress.org/support/users/gibertb/)
 * (@gibertb)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/a-imagesloaded-is-not-a-function/#post-10134313)
 * Thank you for the help 🙂
 * I see the good data in WOOSVIDATA, it looks like something prevent from removing
   the default gallery to replace it by the SVI one.
 * Let’s see…
 *  Thread Starter [gibertb](https://wordpress.org/support/users/gibertb/)
 * (@gibertb)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/a-imagesloaded-is-not-a-function/#post-10134322)
 * Stupid question : I have color + size variations.
    Could it work properly?
 * Thanks
 *  Plugin Author [RosendoLabs](https://wordpress.org/support/users/drosendo/)
 * (@drosendo)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/a-imagesloaded-is-not-a-function/#post-10134416)
 * > Stupid question : I have color + size variations.
   >  Could it work properly?
 * – It will work with either Color or Size (just one of them), but the user will
   have to select both before images change.
 * >  I see the good data in WOOSVIDATA, it looks like something prevent from removing
   > the default gallery to replace it by the SVI one.
 * – Not compatible with custom product pages built with Builders (ex: Visual Composer,
   UX, Builder, Unyson, etc.), these Builders completely take over the design and
   hooks of the pages running them, so if a builder is applied to a product page
   SVI will not be accessible.
    – Your theme is not using the proper hooks that 
   woocommerce requires, than I cannot make the change.
 * Cheers,
    Da
 *  Plugin Author [RosendoLabs](https://wordpress.org/support/users/drosendo/)
 * (@drosendo)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/a-imagesloaded-is-not-a-function/#post-10149451)
 * Closed due to no further feedback.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘a.imagesLoaded is not a function’ is closed to new replies.

 * ![](https://ps.w.org/smart-variations-images/assets/icon-256x256.png?rev=2094600)
 * [Smart Variations Images & Swatches for WooCommerce](https://wordpress.org/plugins/smart-variations-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-variations-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-variations-images/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-variations-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-variations-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-variations-images/reviews/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)

 * 9 replies
 * 2 participants
 * Last reply from: [RosendoLabs](https://wordpress.org/support/users/drosendo/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/a-imagesloaded-is-not-a-function/#post-10149451)
 * Status: resolved