Hello!
Use AddToAny image sharing to make that happen.
For page speed, share buttons will appear when hovering over images (desktop) and tapping on images (mobile). In the future (when more browsers support optimizations) AddToAny will offer an option for “static” share buttons that stay displayed on images.
Enable image sharing by adding some code to your “Additional JavaScript” box in Settings > AddToAny:
a2a_config.overlays.push({
services: [ 'pinterest', 'facebook', 'twitter', 'tumblr', ],
});
And to fix your vertical floating bar, just switch it back to “Left docked” or “Right docked” instead of “Attach to content”.
Hello again !
Thank you for that code it worked a charm. That said, it does also make the buttons appear on all the “decorative” images on my website. I would like them only to appear on the images present in the gallery https://www.pokervoyageur.com/photos/
Is there any way I can specify that location, or exclude everywhere else except there ?
Thank you so much !
I have actually just realized that the Instagram share button has receives an error when clicked on : Service Not Found
AddToAny does not support the service you are trying to add to. This service may have been removed, or the website you came from is pointing to an invalid service.
Thanks for your help on both of these issues ! 🙂