- Permits users to ‘Disable Pinning' when inserting an image into post.
- Renders full hidden image in
data-pin-media
attribute for better performance. - Introduces
tasty_pins_hidden_image_html
filter for modifying hidden image HTML. - Addresses PHP error associated with
filter_wp_prepare_attachment_for_js()
method definition.
Don't forget to update!
You should soon see an update for Tasty Pins v0.2.0 in your WordPress dashboard. Make sure to update to keep your plugin in tip-top shape.
Disable Pinning on Certain Images
Not all images are perfect for Pinterest. Give your readers fewer, better options for saving to Pinterest by disabling Pinning on certain images.

Read more about how this works here.
Better Load Performance ⚡
We made use of Pinterest's data-pin-media attribute to load a thumbnail-sized version of the hidden image on the page. but use the full-size image when it's actually saved to Pinterest. Doing this helps your page load faster. This change likely isn't something you'll ever notice unless you look at the code, but just know that we're keeping an eye out for your page speed!
Filter for Lazy Load
Lazy-loading images is a common way to improve page speed - it only loads images that are viewable to the user. That does mean that hidden images, which aren't viewable, won't be loaded, and won't be shown as an option to pin.
Fortunately, we were able to set up a fix for this. If you lazy-load your images, you can learn how to still use the Hidden Pin feature of Tasty Pins here.