Page 1 of 1

Changing <title> fields

Posted: 29 Mar 2009, 14:50
by olivewhite
Hi

To optimize ranking of search engines, i am looking for the way to insert the full path of the picture in the title tag of each page, for example:
For a given file path
Code
content/animals/dogs/my_dog.jpg
Where animals Folder Title is Animals
Where dogs Folder Title is Dogs
Where my_dog.jpg Folder Title is My Dog

i would like to get in my page title
Code
SiteTitle + FolderTitle + [...] + FolderTitle + FileTitle
instead of
Code
SiteTitle + FileTitle
When you are in a folder, you get
Code
SiteTitle + FolderTitle
but when you are in a picture you get
Code
SiteTitle + FileTitle
I wish i could get the full Titles Path in my HTML page title tag using all folder titles and file title
Code
My Gallery Title - Animals - Dogs - My Dog
Is it just a PHP variable to insert in <title> tag of index.gallery.phtml or is it more complicated?

Re: Changing <title> fields

Posted: 30 Mar 2009, 02:46
by mjau-mjau
olivewhite wrote:Is it just a PHP variable to insert in <title> tag of index.gallery.phtml or is it more complicated?
I presume you are speaking of the general flash gallery? It is a little more complicated than that, because Flash doesn't really have "pages". We are setting the browser TITLE dynamically through the swfaddress javascript, and I am not so sure google can trace these items anyway.