koken-plugin-photoswipe icon indicating copy to clipboard operation
koken-plugin-photoswipe copied to clipboard

Wrong image is being shared (wrong canonical)

Open meulie opened this issue 8 years ago • 2 comments

Hi Daniel,

Excellent work, but I've hit 1 snag with your plugin. If I am on a photo, for example http://daniel.mesphotos.ch/albums/arts-fumee/#&gid=1&pid=010-924-dsc_8337 , and then try to share this one via Facebook by using the share icon top-right it shares http://danielmuller.photos/albums/arts-fumee/ instead.

Is there a way to prevent this from happening?

meulie avatar Apr 13 '16 18:04 meulie

Hi Daniel,

Do you have a guesstimate of when you'll implement a fix? I'd love to use your plugin... :)

(sorry for being so impatient...)

meulie avatar Sep 12 '16 12:09 meulie

I forgot about this one, sorry. This problem is unsolvable. Facebook doesn't execute Javascript on the shared URL and will therefore read and interpret only the album page. See https://github.com/dimsemenov/PhotoSwipe/issues/749 for more details.

DanielMuller avatar Sep 12 '16 15:09 DanielMuller