Home / Forums / WoodMart support forum / Attached images meta data result in blurry product main image
Home › Forums › WoodMart support forum › Attached images meta data result in blurry product main image
Attached images meta data result in blurry product main image
- This topic has 10 replies, 2 voices, and was last updated 6 years ago by
Artem Temos.
-
AuthorPosts
-
June 11, 2020 at 8:26 am #202604
smaybeParticipantHello,
i’m not 100% sure this is the problem, but i import my product via an app manager and unfortunately it don’t propulate the meta data of dimensions for images which leads to blurry main image because apparently woodmart set the size to 0 if there is not
so basically it display a 100X100 image in 600X600 and don’t show up the right one (even if i disable the lazy loading)
how can i overpasse that issue (tried to set the size directly in the woodmart template, no success)
missing dimension:
June 11, 2020 at 8:57 am #202614
smaybeParticipantfind out the attribute that cause the problem is
sizes="(max-width: 1px) 100vw, 1px"
if i remove it or change the size it’s okJune 11, 2020 at 10:00 am #202641Hello,
Thank you so much for purchasing our theme and contacting our support center.
Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?
Send us a link where we can see this on your website.
Regards
June 12, 2020 at 11:01 am #202943
smaybeParticipantit’s working fine with twenty twenty,
i realy really think it’s realted to lazyloading/missing meta dimensions of the picture
if anyone had the same issue here’s what i didjQuery(".wp-post-image.woodmart-lazy-load,.size-woocommerce_single").removeAttr("sizes");June 12, 2020 at 12:18 pm #202974Hello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it? Allow us to switch between themes temporarily.
Thank you in advance
June 12, 2020 at 12:46 pm #202986
smaybeParticipanthere you go,
i disable almost eery plugins and kept those for the theme i guessJune 12, 2020 at 12:47 pm #202987We see that you imported images and set all sizes to 1x1px. Try to increase images size for your products in Appearance -> Customize -> WooCommerce -> Product images and then regenerate all thumbnails using this plugin https://wordpress.org/plugins/regenerate-thumbnails/
June 12, 2020 at 1:01 pm #202993
smaybeParticipantdid you change the thumbnails size already ? (attached screenshots)
because i tried that and regenerates thumbnails before that and it wasn’t fixing it (i already had that plugin)
but now i regenerate it and it’s working, but
the thing is i will import a lot of products soon and i don’t want to run the plugin to regenerate the new products (or each time i import)
i just tried to import a product
and it’s still the sameAttachments:
You must be logged in to view attached files.June 12, 2020 at 1:02 pm #202996No we didn’t change anything. It is how the import plugin works and we can’t change anything with that in our theme scope. You can try to contact plugin’s developers for help in this situation.
June 12, 2020 at 1:07 pm #202999
smaybeParticipantok i will keep with my solution for the moment then
thank you very muchJune 12, 2020 at 1:08 pm #203000You are welcome!
-
AuthorPosts
The topic ‘Attached images meta data result in blurry product main image’ is closed to new replies.
- You must be logged in to create new topics. Login / Register