Home › Forums › WoodMart support forum › Broken product thumbnails after update to 7.1
Broken product thumbnails after update to 7.1
- This topic has 20 replies, 2 voices, and was last updated 1 year, 9 months ago by Elise Noromit.
-
AuthorPosts
-
February 14, 2023 at 7:29 pm #443018
robo.balaskoParticipantHello,
I have just updated my theme to 7.1 yesterday. I’m using the latest wordpress. After update, the thumbnail images in product detail are no longer displayed in their correct thumbnail size, e.g. 150x150px. Instead, full size images are being displayed and loaded, no matter which settings I change.
February 15, 2023 at 4:56 am #443097
Elise NoromitMemberHello,
Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.
Best Regards
February 15, 2023 at 7:51 am #443129
robo.balaskoParticipantHello,
Just to explain further. I’ve already check whether this also happens with a clean installation. It does. Also, I’ve updated my other site using this exact theme and it also breaks the images after updating to 7.1
I’m using a plugin called Smart Image Resizer PRO which keeps the images squared for thumbnails without clipping the original image.
February 16, 2023 at 4:10 am #443421
Elise NoromitMemberHello,
Please, confirm the permission for plugins deactivation, and switching to the parent theme. As soon as we complete the testing we will enable all back, however, the site would be without plugins for 15-20 min. You would better make the full backup of your site.
The plugins which worked earlier may get incompatible with the recent version.
Best Regards
February 16, 2023 at 2:07 pm #443592
robo.balaskoParticipantHello,
Since this is just a staging site, you can do whatever is needed. Just to give it a try, I’ve just briefly switched to Storefront theme and the images were loaded correctly, e.g. the 100×100 thumbnail. After switching back to Woodmart, it loads the original full-size images cropped to 1:1 ratio by using the object-fit: cover; directive in CSS. Image attached. This happened after update. Previously with 7.0.3 everything worked perfectly.
Attachments:
You must be logged in to view attached files.February 17, 2023 at 3:34 am #443766
Elise NoromitMemberHello,
Unfortunately, I cannot log in. Please disable the block.
If you have any questions please feel free to contact us.
Best Regards
February 17, 2023 at 5:09 am #443781
robo.balaskoParticipantHello,
Can you please try loggin in again in 15 minutes? I noticed my hosting has geo protection set up for wp-admin area. I turned that off just now.
Thanks in advance.
February 18, 2023 at 7:18 am #444172
Elise NoromitMemberHello,
We can hardly meet online.
Please deactivate all the plugins except these ones:
Slider Revolution
WPBakery Page Builder or Elementor
Woodmart Core
Contact Form 7
MailChimp for WordPress
WooCommerce
Safe SVGIf the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.
In case, the problem remains, even after all the plugins are deactivated, provide your site admin access (insert the site credentials into the Private content block under the message area) and confirm the permission for plugins deactivation, switching to the parent or default theme. As soon as we complete the testing we will enable all back, however, the site would be without plugins for 15-20 min. You would better make the full backup of your site.
Best Regards
February 18, 2023 at 8:36 am #444203
robo.balaskoParticipantHello,
I’ve deactivated the plugins but it still doesn’t work.
You can find the credentials in the private content area.
February 19, 2023 at 5:15 am #444360
Elise NoromitMemberHello,
I do not know why and how, but images are not inserted in the product page: https://gyazo.com/c5e9e2fe30994cf96d2dfb9e04e9aaed
I have added the images: https://gyazo.com/e9490f257a9b24eb3944b0302f0b7443
Please add images.
Best Regards
February 19, 2023 at 10:31 am #444407
robo.balaskoParticipantHello,
I’m not sure whether I understand what you mean. There are many products in the shop with images.
I have just created another one and I’m also attaching a code excerpt which you could probably forward to your programmers or something. As you can see it loads the full size image for thumbnail even though I have a specific size of thumbnail set in the theme settings, e.g. 150×150 so instead of the full size image it should load the image with a “-150×150.webp” suffix.
There must have been some change in code since before the 7.1 update everything worked as expected with the same plugins I use now. And I have already tested it out on a fresh install with just the theme and the smart image resizer plugin and the thumbnails were broken right from the beginning as well.
When you switch to a different theme, e.g. Storefront. The thumbnails start loading correctly.
Best regards.
February 19, 2023 at 10:33 am #444408
robo.balaskoParticipantI’m attaching the aforementioned screenshot here since the previous one was too large to upload.
Attachments:
You must be logged in to view attached files.February 19, 2023 at 10:35 am #444410
robo.balaskoParticipantIf you could specify the times at which you are online I could stay up to make things quicker, I’m from Central EU, GMT+1.
February 20, 2023 at 7:23 am #444519
Elise NoromitMemberHello,
Please provide the product page URL where I can see the problem.
Best Regards
February 20, 2023 at 11:50 am #444587
robo.balaskoParticipantThe problem can be seen in all products, e.g. https://eshop.enigma-audio.sk/produkt/analogovy-xlr-kabel-wireworld-eclipse-8-ebi-6-0m/
February 21, 2023 at 4:25 am #444852
Elise NoromitMemberHello,
I check and see value 300 now. I have set 150. You need to regenerate all thumbnails to apply the changes. Use the following plugin for this.
If you have any questions please feel free to contact us.
Best Regards
February 21, 2023 at 8:27 am #444887
robo.balaskoParticipantHello,
Even after regeneration the thumbnails are loaded as full size images. You can see it in the code inspector. Even though a small size is set, the loaded image is 2000px in width.
February 21, 2023 at 8:31 am #444889
robo.balaskoParticipantI assume it’s a bug in the latest update’s code. More specifically, in a file name “product-image.php” which is located in your theme’s files in: /woocommerce/single-product templates. When I remove the $image_size attribute from the function displayed in the images, everything works as expected. You should assign this to your programmers to check as this issue also happens with a clean install of the theme.
Attachments:
You must be logged in to view attached files.February 23, 2023 at 1:50 am #445545
Elise NoromitMemberHello,
We have enabled the option: https://monosnap.com/file/1vLSIOPI3WwCiG0kx4mPBeegtP7gr7 then launched regenerating with Regenerate Thumbnails. Please check this product: https://eshop.enigma-audio.sk/produkt/analogovy-xlr-kabel-wireworld-eclipse-8-ebi-6-0m/
As you see it works.
If you have any questions please feel free to contact us.
Best Regards
February 23, 2023 at 6:41 pm #445815
robo.balaskoParticipantHello,
I confirm that now it does, in deed, work. May I ask what steps have you taken in order to make it work?
Thanks in advance.
I wish you a pleasant day.
February 24, 2023 at 5:22 am #445908
Elise NoromitMemberHello,
1. You need to set the size of a thumbnail.
2. Regenerate the thumbnails.If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register