I am trying to edit the default file plugin to show the image when a user shares the page. But i cant get it to show the image. Does anyone know how to do this?
Open graph for image file:
<meta property="og:image" content="http://MySite.com/mod/file/thumbnail.php?file_guid=275077&size=master&icontime=1418777470">
html on page for share button:
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- ura soul@tunist
ura soul - 0 likes
- ihayredinov@ihayredinov
ihayredinov - 0 likes
You must log in to post replies.What is the access id of the file? You may want to use the download link instead of the thumbnail link.
my interconnected plugin already handles this (for common subtypes)
So does hypeDiscovery: https://bitbucket.org/hypejunction/hypediscovery