WPIntell

Source evidence

Pinterest error message broken image

jQuery Pin It Button for Images · support · 2021-08-09T21:43:00+00:00

complaintsentiment
highseverity
1.0relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 29 rows with source links

20.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

23 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
meaganpuett unresolved
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] I’m having the same issue… have you had any luck fixing it? No, I still haven’t heard back from anyone on this forum 🙁 Hoping someone responds soon and can help me with this issue. 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 = 'http://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>

Comments

3 shown
Jos Moody 2021-08-13T07:46:00+00:00

I’m having the same issue… have you had any luck fixing it?

meaganpuett 2021-08-14T01:52:00+00:00

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

mcqTia 2021-10-28T03:07:00+00:00

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 = 'http://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>