This topic has 26 replies, 2 voices, and was last updated 6 years, 9 months ago ago by Rose Tyler
Hello,
I just updated woocommerce (v. 3.3.1) and noticed that the hover effect images have disappeared. When I check it with developer tools, it shows this:
<img class="show image" src="" class="show-image" alt="">
So the src is empty, it shows no image.
How can I fix this?
Thank you.
Hello,
3.4 theme version is not compatible with WC 3.3.1, so you may face some problem. You can downgrade WC version or wait for theme update, that will be released soon (within 1 week).
Regards
Ok, hoping that the update will fix this. Downgrading is not that easy because the new woocommerce version made database changes. But I could use a backup..
Ok. Feel free to ask if you have any other questions.
Regards
Just updated my testpage to royal version 4.0, but the problem with missing hover images still exists 🙁
Just wanted to admit that the hover (swap) images have not only disappeared from shop page, but also from the etheme (related products) slider…
Hello,
Please provide us with your website URL so we can take a closer look.
Regards
Dear Rose,
please find all information in private content. Thank you.
Hello,
We’ve made some changes in royal/woocommerce/content-product.php and royal/woocommerce/content-product-slider.php files. The swap image will be got automatically from product gallery. Please add this css code in custom css:
.product-slide .product-image-wrapper.hover-effect-swap:hover img.show-image + img {
opacity: 0 !important;
}
and check.
Regards
Thank you but now it shows the second product gallery image as hover image and not the one that I set as hover image..
Hello,
Yes, you are right. We are planning to add this improvement in next theme update.
Regards
Ok but it used to work until the last update of Royal and woocommerce. How can I fix this now?
Hello,
We have fixed the problem on your site. If you do not set swap image, the second product gallery image will be shown, but if you select an image in product settings it will work also.
Is this ok for you?
Regards
Thank you, that would be ok but now there are multiple error messages on the shop page :/
Ah seems that you just fixed it, thank you.
Hello,
Please check now.
Regards
Thank you. Can you please fix it for content-product-slider.php too?
And will this be fixed in the next update? The perfect solution would be if it was like it was before: Show the swap image if there is one, and if there is none, just do nothing and keep the main product image.
Thank you.
Hello,
You’re welcome!
To fix this for the slider please add the css code that we provided.
Ok.
Regards
Ok, unfortunately its still not working perfectly. The swap images have other dimensions than the main images, although they are both 1000x1000px. The main product image is shown square, and the swap image as cropped to a rectangle… 🙁
Many thanks for your support.
Hello,
We have checked this situation and this a bit strange, because on my test site all works fine. Please regenerate images using appropriate plugin, if this won’t help, try to change permissions on wp-content/uploads folder to 777 or ask about this your hosting provider support.
Regards
Hm ok i am on the way to my office and will check it there. Also there seems to be a new image size with 250px (shop catalogue). I checked all settings (in settibgs > media) and in customizer but I dont find where to change it?
Please read this article https://woocommerce.wordpress.com/2017/12/11/wc-3-3-image-size-improvements/
Regards
Did you make any new changes? Because I saw that the files content-product and content.product-slider were edited this morning and now it works and all images have the right size….?
Hello,
Yes, one of our developers did some changes. Please clear cache and let me know if this is ok now.
Regards
Yes thank you its all working fine now. The only thing thats a bit disturbing is that the images “jump” on single product page – Ive added a video in private content.
Hello,
This is default behavior for this gallery, but you can change this. Appropriate code can be found in royal/woocommerce/single-product/product-image.php file http://prntscr.com/ih9d51 (change to false). Please do such changes to child theme to prevent losing it after each theme update.
Regards
You must be logged in to reply to this topic.Log in/Sign up