Titles not showing from Picasa

Phoca Gallery - image gallery extension
roeiegans
Phoca Member
Phoca Member
Posts: 23
Joined: 04 Jan 2008, 11:53

Titles not showing from Picasa

Post by roeiegans »

Hello,

I have succesfully embedded photos from Picasa. However, the titles as set in Picasa are not shown. Instead it shows me the filename of the pictures. How to resolve this?

The Picasa site can be found at:
https://picasaweb.google.com/info.marce ... 1MPFeesten#

The result on my site:
http://www.mpfeesten.nl/multimedia/foto ... -2011.html

Hope someone can help me with this,

Regards Roel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Titles not showing from Picasa

Post by Jan »

Hi, do have the images titles on Picasa?
If you find Phoca extensions useful, please support the project
roeiegans
Phoca Member
Phoca Member
Posts: 23
Joined: 04 Jan 2008, 11:53

Re: Titles not showing from Picasa

Post by roeiegans »

Yes, they have as you can see in the picasa link… The photographers name is underneath it (or isn't that the name of the photo?).

Regards Roel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Titles not showing from Picasa

Post by Jan »

Hi, Picase has in fact description field, not title field.

So you can customize the code to get description of Picasa image in title, see:
administrator\components\com_phocagallery\models\phocagalleryc.php (cca line 1274)
FROM:
$dataImg[$i]['title'] = $value->title->{$Ot};
TO:
$dataImg[$i]['title'] = $value->summary->{$Ot};
If you find Phoca extensions useful, please support the project
Post Reply