Hi people,
I am officially stumped... I recently purchased Q's option boost mainly for the feature of changing the main image when selecting an option, however when i try to add a cloud-zoom extension the main image no longer changes.
Has anyone else come across this issue or think they know what might be causing it?
Would share some code with you but i'm not sure Q would appreciate me posting his hard work all over the place
Thanks,
Dani
I am officially stumped... I recently purchased Q's option boost mainly for the feature of changing the main image when selecting an option, however when i try to add a cloud-zoom extension the main image no longer changes.
Has anyone else come across this issue or think they know what might be causing it?
Would share some code with you but i'm not sure Q would appreciate me posting his hard work all over the place
Thanks,
Dani
The 2 mods are conflicting each other. You can contact Q by sending him an email and ask for his assistance.
This is really late but if it helps someone else, a way to get around this issue is to *destroy* CloudZoom instances when Options Boost calls for update function through ajax and *re-instantiate* CloudZoom on data return.
This work around needs options_boost.js to be modified, so proceed with caution.
#1 Look for obUpdate. There should be two instances of this, the function itself and the function call obUpdate(jQuery(this));
#2 add this before the function call
#3 in the obUpdate function, look for ajax's success call back and add
The codes above assumes the css selectors for CloudZoom.
This work around needs options_boost.js to be modified, so proceed with caution.
#1 Look for obUpdate. There should be two instances of this, the function itself and the function call obUpdate(jQuery(this));
#2 add this before the function call
Code: Select all
// destroy cloud zooms
$('.cloud-zoom, .cloud-zoom-gallery').each(function(){
$(this).data('zoom').destroy();
});
Code: Select all
// re-instantiate cloud zooms
$('.cloud-zoom, .cloud-zoom-gallery').CloudZoom();
Where should i put exact your codes?signereign wrote:This is really late but if it helps someone else, a way to get around this issue is to *destroy* CloudZoom instances when Options Boost calls for update function through ajax and *re-instantiate* CloudZoom on data return.
This work around needs options_boost.js to be modified, so proceed with caution.
#1 Look for obUpdate. There should be two instances of this, the function itself and the function call obUpdate(jQuery(this));
#2 add this before the function call#3 in the obUpdate function, look for ajax's success call back and addCode: Select all
// destroy cloud zooms $('.cloud-zoom, .cloud-zoom-gallery').each(function(){ $(this).data('zoom').destroy(); });
The codes above assumes the css selectors for CloudZoom.Code: Select all
// re-instantiate cloud zooms $('.cloud-zoom, .cloud-zoom-gallery').CloudZoom();
Can you suggest me?
Thanks in advance!
Where abouts do you actually put this code as when i add it, only the die cloudzoom works as after i try and reinstate it cloudzoom doesnt work?
Also i downloaded new version of Options Boost and the image zoom Q added doesnt seem to work like a cloudzoom effect?
Thanks
Aaron
Also i downloaded new version of Options Boost and the image zoom Q added doesnt seem to work like a cloudzoom effect?
Thanks
Aaron
Actually the in the latest Options Boost I found a way to make it work with Cloudzoom.. so it shouldn't break anything.aaron1988 wrote:Where abouts do you actually put this code as when i add it, only the die cloudzoom works as after i try and reinstate it cloudzoom doesnt work?
Also i downloaded new version of Options Boost and the image zoom Q added doesnt seem to work like a cloudzoom effect?
Thanks
Aaron
Who is online
Users browsing this forum: No registered users and 10 guests