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

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #202604

    smaybe
    Participant

    Hello,
    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)

    blurry

    missing dimension:
    missing

    #202614

    smaybe
    Participant

    find out the attribute that cause the problem is
    sizes="(max-width: 1px) 100vw, 1px"
    if i remove it or change the size it’s ok

    #202641

    Artem Temos
    Keymaster

    Hello,

    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

    #202943

    smaybe
    Participant

    it’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 did

    jQuery(".wp-post-image.woodmart-lazy-load,.size-woocommerce_single").removeAttr("sizes");

    #202974

    Artem Temos
    Keymaster

    Hello,

    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

    #202986

    smaybe
    Participant

    here you go,
    i disable almost eery plugins and kept those for the theme i guess

    #202987

    Artem Temos
    Keymaster

    We 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/

    #202993

    smaybe
    Participant

    did 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 same

    Attachments:
    You must be logged in to view attached files.
    #202996

    Artem Temos
    Keymaster

    No 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.

    #202999

    smaybe
    Participant

    ok i will keep with my solution for the moment then
    thank you very much

    #203000

    Artem Temos
    Keymaster

    You are welcome!

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘Attached images meta data result in blurry product main image’ is closed to new replies.