<meta property="og:image"> implementation in template

Everything to do with Joomla! 1.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Locked
flovvv
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Nov 09, 2011 8:44 pm

<meta property="og:image"> implementation in template

Post by flovvv » Wed Nov 09, 2011 8:54 pm

Hello,

I am just trying to implement the Open Graph protocol in my Joomla template and in particular the property: <meta property="og:image"> .

I would like to shape it this way :

<meta property="og:image" content="http://www.mydomain.com/images/ARTICLE_ALIAS.png" />

In other words the image that is placed in this property should have the name of the article alias. I am looking for a function that I could place instead of ARTICLE_ALIAS in my template in the <head> section that would alway grab the alias of a given article. Unfortunately I can't solve this problem. Any help or advice is greatly appreciated :-).

Thanks.

Locked

Return to “Templates for Joomla! 1.5”