Topic: Is there a way yet to share the image being viewed on facebook (js?)

I see this post by someone who claims you can indeed update the OG Image meta tag with javascript and that facebook will indeed see the change.
http://drib.tech/programming/dynamicall … javascript

Has anyone done this successfully with JuiceBox yet?
Thanks for the great gallery plugin!

Re: Is there a way yet to share the image being viewed on facebook (js?)

Just to clarify (for others reading this thread), the image currently being viewed in the gallery is the image being shared when the Facebook share icon is clicked.
The shared link has a # at the end of the URL to signify which image in the gallery is being shared and, when the shared link is clicked, the gallery will display the shared image (rather than just the first image in the gallery).
However, the thumbnail image displayed in the Facebook pop-up share window will be taken from the web page's og:image tag and, therefore, is not a thumbnail of the image being shared (it is just a single representative image for the gallery as a whole).

The only user I know of who seems to have managed to overcome this restriction is sly from this thread.
I notice that his solution seems to be included within a rather complex custom JavaScript file (check out the 'jcaddon.js' file on his gallery pages) which overrides some of Juicebox-Pro's own sharing functionality and, therefore, is not officially supported.
(As such, I have not tested his solution myself and I cannot be sure that it will work across all platforms and in all browsers.)
However, I hope this points you in the right direction.

Re: Is there a way yet to share the image being viewed on facebook (js?)

Right, to be clear I was referring to updating the OG Image tag via javascript which the person at the link above appears to have pulled off.  Any chance we could see that functionality in a near-future version of juicebox?  That would really put this gallery system over the top!

Re: Is there a way yet to share the image being viewed on facebook (js?)

Any chance we could see that functionality in a near-future version of juicebox?

It might be worth posting your suggestion in the Feature Requests forum thread where it will be seen by the developers.
I do not know the likelihood of any suggestions being implemented in future versions but this is certainly the best place for all ideas.
Thank you.