Pages: 1
For albums is there any way to add to the header.php meta tags like:
<link rel="image_src" href="file.jpg"/>
<meta name="twitter:image" value="file.jpg"/>
<meta property="og:image" content="file.jpg"/>
Where file.jpg the first image of the album.
This will allow websites like twitter, facebook and reddit to correctly get the thumbnail image of the URL.
Any ideas?
Thank you
Offline
Hi :-)
Yes you can add this with personel plugin
Offline
Link? Can't find it
Offline
The plugin isn't written yet
but it's possible to write it, take [extension by ddtddt] Meta as model
Last edited by mistic100 (2013-10-07 21:50:09)
Offline
hello
you can do it yourself with some simple coding (well perhaps not that simple :-) )
but there is a reason why it's not done : there is no simple and global function to know witch image represents an album, because perhaps all your photos are public but it is not the case of everyone
it would require additional computing to know what would see a guest user (practically, visitors from twitter/reddit are guests for your gallery)
it's a technical part of Piwigo witch needs to be improved :)
Offline
Pages: 1