i will register again to use the track. i'll make sure i'll give an email address.
now back to caching image with iptc data. i do not get errors. the cached file is created just like before but no iptc data are in it.
so i printed few things in a file to see what was going on (i am working on my local server for dev purpose).
$imgfile gives /Users/frank/.../.../albumname/imagename.jpg
$imagename gives imagename.jpg
$albumname gives /Users/frank/.../.../albumname
if i print $image->getTitle(), i get nothing but i checked in the database and i do have something in the title field.
to go a bit further i replaced `$image = newImage(new Album(new Gallery(),$albumname), $imagename);` by:
`
$albumobj = new Album(new Gallery(), $albumname);
$image = newImage($albumobj, $imagename);
`
this way i have access to the album object. if i try to get the album title with $albumobj->getTitle(), i get nothing again. i am able to get the album title (and description with getDesc) only if i replace `$albumname = dirname($imgfile);` by `$albumname = substr(dirname($imgfile),strrpos(dirname($imgfile),'/')+1);` to get rid of /Users/frank/.../.../ in the album name.
and then i get something when i print $image->getTtile() or anything else (getCredit, getDesc, getCountry...)
i hope this makes it a bit clearer.