Anytime I try to share my post via the built-in pinterest social button cornerstone element, I get an error that reads: “Sorry we could not fetch the image.”
I’ve done some research and narrowed down the reason to the fact that the pinterest share button is trying to fetch the image over HTTPS instead of HTTP. For example, here is the default code that executes when the button is clicked:
window.open('http://pinterest.com/pin/create/button/?url=https%3A%2F%2Fwww.boarsart.com%2Fcharles-scotts-weekly-album-cover-design-project%2F&media=https%3A%2F%2Fwww.boarsart.com%2Fwp-content%2Fuploads%2FCharles-Scott-Album-Covers.jpg&description=Charles+Scott%26%238217%3Bs+Album+Covers+Balance+Artistic+Expression+and+Visually+Representing+Their+Music', 'popupPinterest', 'width=750, height=265, resizable=0, toolbar=0, menubar=0, status=0, location=0, scrollbars=0');
The above code results in the image fetch error. I’ve tweaked it into a working version down below:
window.open('http://pinterest.com/pin/create/button/?url=https%3A%2F%2Fwww.boarsart.com%2Fcharles-scotts-weekly-album-cover-design-project%2F&media=http%3A%2F%2Fwww.boarsart.com%2Fwp-content%2Fuploads%2FCharles-Scott-Album-Covers.jpg&description=Charles+Scott%26%238217%3Bs+Album+Covers+Balance+Artistic+Expression+and+Visually+Representing+Their+Music', 'popupPinterest', 'width=750, height=265, resizable=0, toolbar=0, menubar=0, status=0, location=0, scrollbars=0');
The only difference between the two is this part: …&media=https%3A…
If that little bit is changed from https to http, it works fine. But I don’t know how to enact this change.
Here’s an example post on my site. The pinterest share button is at the bottom of the post content if you want to try for yourself.
How can I fix the Pinterest share button?