I'm hoping to add sharing buttons (Pinterest to start) to each image within a gallery without having to go in and manually include URLs etc. for each individual image/entry. There is plenty of instruction to be had when it comes to including this functionality for other lightboxes--most notably in conjunction with a specific CMS; and I have been reviewing those instructions, as well as w3 resources and other stackoverflow.com entries--with the hope that I could put something together. I'd like to place the share buttons en lieu of the counter. Thus far I've failed. I did have one attempt that resulted in the button being displayed, however the script did not acknowledge the path for the image for a successful "pin." Subsequent attempts at including a "Pin It" button have simply broken Magnific.
Currently, I have:
tCounter:
'<a href="//pinterest.com/pin/create/button/?url=http%3A%2F
%2Fgeraldmurai.com&media=http%3A%2F%2Fwindow.location.href&
description=Aloha!%20Thank%20you%20for%20Pinning!" data-pin-do="buttonPin" data-pin-
config="none" >
<img src="//assets.pinterest.com/images/pidgets/pin_it_button.png" />
</a>'}
Any tips would be greatly appreciated!
Thank you!