Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Jun 2018, 14:37

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 27. May 2018, 06:13 
Offline

Joined: 27. May 2018, 05:21
Posts: 5
Is it possible to get some data into Open Graph meta tags? I'm looking for the following:
  • Code:
    <meta property="og:site_name" content="Browser title prefix goes here" />
  • Code:
    <meta property="og:title" content="Gallery title goes here" />
  • Code:
    <meta property="og:description" content="Image caption goes here" />
but I'm not sure where to start.


Top
 Profile  
 
PostPosted: 27. May 2018, 07:28 
Offline

Joined: 27. May 2018, 05:21
Posts: 5
To accomplish this I have so far done this to head.inc.php
http://paste.debian.net/plainh/dca15bf3

and this to image.inc.php
http://paste.debian.net/plain/1026755

It seems to accomplish what I was looking for; I can now see the site title prefix, the caption for the image, and the image itself when posting links to the gallery in Discord.


Top
 Profile  
 
PostPosted: 27. May 2018, 12:13 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10836
:).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
powered by phpbb | Datenschutz/ Privacy policy