• Resolved Scross93

    (@scross93)


    Hello,
    I have problem with product image in woocommerce product widget because it doesn’t show image. I think it is connected with this that the in url of product image is http without https.
    check 4seasonsclothes.com <- left side

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Claudiu Lodromanean

    (@claudiulodro)

    The server that you’re trying to load the images from (Amazon’s server?) is rejecting your requests.

    For example, here is the URL for one of your images: https://images-na.ssl-images-amazon.com/images/I/31dFqjOSxML.jpg

    Open that URL in your browser and you will see an error. It’s because you are not using HTTPS.

    The same image with HTTPS works great: https://images-na.ssl-images-amazon.com/images/I/31dFqjOSxML.jpg

    Thread Starter Scross93

    (@scross93)

    Hey, yes I know as i wrote ;p but the problem is that plugin is not using my link (i added link with https) but use http (don’t know why). I tried to edit wc-templates-functions.php but it didnt work.

    Plugin Contributor Claudiu Lodromanean

    (@claudiulodro)

    It’s because the images are loaded with the same protocol your site uses, not a custom-specified protocol. If you examine the HTML you will see:

    src=”//images-na.ssl-images-amazon.com/images/I/31dFqjOSxML.jpg”

    This loads the image using HTTP on HTTP sites and HTTPS on HTTPS sites.

    Using HTTPS is going to be better for both you and your customers, and customers can trust that attackers aren’t intercepting their personal information when they buy things from your shop. You can get set up with HTTPS with a free certificate from https://letsencrypt.org/ . That’s going to be my recommendation for solving this issue.

    Thread Starter Scross93

    (@scross93)

    So ssl will solve the problem? Thanks a lot, I didn’t know!

    Thread Starter Scross93

    (@scross93)

    It solved me problem. Thanks Claudiu for advice.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Product Widget not showing image’ is closed to new replies.