• Resolved hairdtuty

    (@hairdtuty)


    Looks like the plugin don’t support multiples images for posts and products.

    I have created a shortcode and selected the Product in Query Parameters>Post Type.
    1. The image gets broken if there are multiple images for that post.
    2. The srcset contains image url in a wrong way, here is complete img tag code:

    <img width="150" height="150" src="https://m.media-amazon.com/images/I/51igWPeivoL._SS150_.jpg" class="attachment-alm-thumbnail size-alm-thumbnail wp-post-image" alt="" srcset="https://i2.wp.com/m.media-amazon.com/images/I/51igWPeivoL.jpg?w=150&ssl=1 150w, https://i2.wp.com/hairduty.com/wp-content/uploads/https://m.media-amazon.com/images/I/51igWPeivoL.jpg?zoom=2&resize=150%2C150&ssl=1 300w" sizes="(max-width: 150px) 100vw, 150px">

    You can see the url is prefixed:
    https://i2.wp.com/hairduty.com/wp-content/uploads/https://m.media-amazon.com/images/I/51igWPeivoL.jpg?zoom=2&resize=150%2C150&ssl=1

    Which is wrong and that’s why its not showing the image.

    Please help me to fix it.

    Thanks for reading ??

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi @hairdtuty
    Sorry, I’m not sure what the issue would be.
    Your URL appears to be showing images now… did you fix it?

    Thread Starter hairdtuty

    (@hairdtuty)

    Hi @dcooney, thanks for quick response, yes I have fixed it by disabling the Jetpack “Speed up image load times”.
    That was the issue, its working fine now.

    Thanks again.

    Plugin Author Darren Cooney

    (@dcooney)

    Ah yes. Thats not working in Ajax and they don’t provide a method to enable it admin-ajax requests either.

    glad it’s fixed (somewhat)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce Products images are broken when there are multiple images.’ is closed to new replies.