I am working on the Gallery Module; all is working great, though I would like to change something and this might be a future item for the module aswell.
In the Gallery, changing the template there are three text-areas:
1. Template code:
2. Template CSS-stylesheet:
3. Template JavaScript:
Now I don't need no JavaScript, but I would like some Facebook og:graphs meta data. So I copied some meta data and put it in the 'Template JavaScript:' text-area, saved and it worked. Tested it with the Facebook debugger and all is well.
Now I did this so I could have dynamically meta data. I wanted to achieve this using the Gallery tags like this for instance:
Code: Select all
<meta property="og:image" content="http://studiomik.nl/{$image->thumb|escape:'url'|replace:'%2F':'/'|replace:'thumb_':''}">Anyway, I think this might also be a great future item for the Gallery Module. So when a new page is created through the Gallery Module and if this page is shared on Facebook or Twitter it will get its own information.
Thanks in advance,
Joep


