Custom Pinterest Image using mobile size
-
Hello,
Thanks for this great plugin. I just have a query about the custom pinterest image size.
I uploaded an image 1000×1500 for this, but the mobile size seems to be the one picked up by Pinterest which is only 450×675 and does not look as good quality on Pinterest for various large views.
The img tag put out in the source is:
<img width="450" height="675" src="https://www.mydomain.com/wp-content/uploads/mypin-450x675.jpg" class="scriptless__pinterest-image" alt="My pin image" data-pin-media="true" style="display:none;" srcset="https://www.mydomain.com/wp-content/uploads/mypin-450x675.jpg 450w, https://www.mydomain.com/wp-content/uploads/mypin-360x540.jpg 360w, https://www.mydomain.com/wp-content/uploads/mypin-600x900.jpg 600w, https://www.mydomain.com/wp-content/uploads/mypin-768x1152.jpg 768w, https://www.mydomain.com/wp-content/uploads/mypin-533x800.jpg 533w, https://www.mydomain.com/wp-content/uploads/mypin.jpg 1000w" sizes="(max-width: 450px) 100vw, 450px" />
I think Pinterest might be taking the image from the src attribute rather than the srcset? Is there any way to set the src to use the full size of the uploaded image?
Thanks,
Janine.
- The topic ‘Custom Pinterest Image using mobile size’ is closed to new replies.