• When I try to pin photos from my blog to pinterest (which I’ve done many times in the past), I now get an error message stating “Something went wrong.
    Sorry, this image is broken. Please pick a different image.” This is happening to all of the images on my website now, even ones that I have previously pinned as recently as one month ago. Please help?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m having the same issue… have you had any luck fixing it?

    Thread Starter meaganpuett

    (@meaganpuett)

    No, I still haven’t heard back from anyone on this forum ?? Hoping someone responds soon and can help me with this issue.

    mcqTia

    (@mcqtia)

    I had the same error and the issue was happening when the pin button was using the featured image. Maybe it is something to go with the way the WP thumbnail function works that prevents pinterest from recognizing the photo.

    What I was able to to was to add a custom code to my theme JS file and pull the image on the post that is after the featured image. This seemed to fix the problem.

    You can add this to your theme javascript file and see if it helps:

    var pinterest_Share = 'https://www.pinterest.com/pin/create/button/?url=' + encodeURIComponent(document.URL) + '&media=' + encodeURIComponent(document.images[4].src) + '&description=' + encodeURIComponent(document.title);
    $('.pinterest-social-share').each(function () {
       this.href = pinterest_Share;
    });

    That being said you will need to create an HTML button on the post with the name linking to the code above. The button should look like:

    <a class="pinterest-social-share" target="_blank" rel="noopener" aria-describedby="new-window-0">
    <img class="socialshare" src="**put a link to your 
    pinterest icon here**" alt="Share this post on Pinterest"/>
    </a>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pinterest error message broken image’ is closed to new replies.