exif data with image

Phoca Gallery - image gallery extension
psylib
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 18 Dec 2011, 13:40

exif data with image

Post by psylib »

Hi,

I want to put the medium thumb in the exif iframe. (in a table with two td, one for image and the other for the exif data)
I have the path of the full image but i want to have the path of the medium thumb.
Is there a helper method for that?
Does anyone something like that? and how???

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

Re: exif data with image

Post by Jan »

Hi, no :-(, I think you need to load info about the image (path to medium thumbnail) .e.g. like in detail window and then paste it to output.

Jan
If you find Phoca extensions useful, please support the project
psylib
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 18 Dec 2011, 13:40

Re: exif data with image

Post by psylib »

Thanks Jan,
i will try this soon.
psylib
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 18 Dec 2011, 13:40

Re: exif data with image

Post by psylib »

i solved with :

$w=27;
$subs=substr($this->originalFile, $w);
$subs2=substr(strrchr($this->originalFile, '/') ,1);
$subs3= 'thumbs/phoca_thumb_l_'.$subs2;
$substart=substr($subs,0,strlen($subs)-strlen($subs2));
$last =$substart.$subs3;
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: exif data with image

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply