Can you help me in defining image url? [now for album...]
pulser
![]()
Joined: 2005-05-29
Posts: 88 |
![]() |
Sorry for the dumb question in beforehand. In fact, I've already succeeded in it mostly. But, can not tune the syntax of the tag properly in order FB to get proper thumb from the page of photo.tpl. I'm adding the tag into head of theme.tpl (matrix theme), but how can I get the variable which containts the main image URL of photo page, that FB should get as a base for thumb? Quote:
{* Include this theme's style sheet *} I've tried already also <meta property="og:image" content="{$imageViewLink}"/>, but failed. Can you help me in this string composition? Thanks in advance... |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
I ask because different themes have different variables available in each template. -s |
|
pulser
![]()
Joined: 2005-05-29
Posts: 88 |
![]() |
Matrix one. Quote:
head of theme.tpl (matrix theme), but |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
I'll have to get back to you this afternoon as my day job is calling. -s |
|
pulser
![]()
Joined: 2005-05-29
Posts: 88 |
![]() |
suprsidr wrote:
I'll have to get back to you this afternoon as my day job is calling. Thank you in advance. |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
Url to the main image will be something like -- |
|
pulser
![]()
Joined: 2005-05-29
Posts: 88 |
![]() |
Thanks! |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Oh, I'm sorry, I thought you wanted the thumbnail. Quote:
how can I get the variable which containts the main image URL of photo page, that FB should get as a base for thumb? which is not directly available in the photo.tpl template. -s |
|
pulser
![]()
Joined: 2005-05-29
Posts: 88 |
![]() |
And, if to continue the idea... How can I get a number of thumb urls, if I try to build the Facebook multi-previews for album pages (not photo ones with one photo)? In fact, I guess, theme.tpl should be modified again, not album.tpl, but with what string? Smth like: Quote:
<meta property="og:image" content='{g->image id="%ID%" item=$child image=$child.thumbnail class="%CLASS% giThumbnail"}'/> Does not work |
|