move from piwigo to Phoca Gallery questions

Phoca Gallery - image gallery extension
vikozo
Phoca Member
Phoca Member
Posts: 27
Joined: 22 Jun 2015, 08:58

move from piwigo to Phoca Gallery questions

Post by vikozo »

Hello
i have a piwigo Installation mixed with my Joomla page
http://www.kocher.photos/piwigo/

i would like to Change to the phoca Gallery, but do you have a Feature like the Foto & Map combination.
if you go to the page click world then Zentralamerika then Costa rica on the map it will zoom more narrow till you are there

the other Point, it is possible to Show the Picture like this http://www.kocher.photos/piwigo/index.php?/category/103

there are also another question.
my Fotos are titeld and keyworded and geotaged with Adobe lightroom, it is not possible to learn it when adding to a Category?

have a nice day
vinc
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: move from piwigo to Phoca Gallery questions

Post by Jan »

Hi,

1) map - you can display map for categories view and category view, see: https://www.phoca.cz/documents/2-phoca-g ... geotagging

2) picture - I get error on the second link

3) not sure what you mean with learn the keyword or geotags but in Phoca Gallery you can display EXIF information of the image.

Jan
If you find Phoca extensions useful, please support the project
vikozo
Phoca Member
Phoca Member
Posts: 27
Joined: 22 Jun 2015, 08:58

Re: move from piwigo to Phoca Gallery questions

Post by vikozo »

@Jan - Thanks for your Feedback
the second links should be working now again...
the question was about a presentation of the Photos

3) my Picture are keyworded so if a Picture from Costa Rica ist keyworded with [Costa Rica, Market, Food] you could klick on market and it would Show all of the Picture with the same keyword (or you have all keywords like this http://www.kocher.photos/piwigo/tags.php )
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: move from piwigo to Phoca Gallery questions

Post by Jan »

Hi,
3) there is a tag feature but such is not created automatically so only manually

2) second link - no, there is no such view, so this needs to be customized directly in the code. In Phoca Gallery, the images are displayed in category view and they include a map icon, when you click on it, popup with map will be displayed.

Jan
If you find Phoca extensions useful, please support the project
vikozo
Phoca Member
Phoca Member
Posts: 27
Joined: 22 Jun 2015, 08:58

Re: move from piwigo to Phoca Gallery questions

Post by vikozo »

so would this be a nice Feature to have!
would be nice to have the Information which are inside the Picture could be used.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: move from piwigo to Phoca Gallery questions

Post by Jan »

Hi, when adding images to Phoca Gallery, some information can be read from exif (e.g. geo information - longitude, latitude), but this needs to be tested as some programs do not add the geo to exif but to other part of the image.

Jan
If you find Phoca extensions useful, please support the project
vikozo
Phoca Member
Phoca Member
Posts: 27
Joined: 22 Jun 2015, 08:58

Re: move from piwigo to Phoca Gallery questions

Post by vikozo »

i think following ths two Standard would fit

https://iptc.org
http://www.exif.org

i just wish to have it as Close as possible to piwigo, also from the layout....

and of course i woul help to test it....
and the links should all be working....
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: move from piwigo to Phoca Gallery questions

Post by Jan »

Hi, for now, in Phoca Gallery the EXIF is used.

Mostly, IPTC needs to be modified directly for each website as there are specific tags, for example:

Code: Select all

$exif = @exif_read_data( $originalFile, 'IFD0');
						
// FILE NAME
if (isset($exif['FileName']) && $exif['FileName'] != '' ) {
	$oE .= 'Dateiname: '. $exif['FileName'] . "<br />";
	
}

// Description set in IPTC
$a = 0;
$size = getimagesize($originalFile, $info);
if (isset($info['APP13'])) {
	$iptc = iptcparse($info['APP13']);
	
	$kA = array();
	if (isset($iptc['2#025']) && !empty($iptc['2#025'])) {
		foreach($iptc['2#025'] as $kI => $vI) {
			if ($vI != '') {
				$kA[] = $vI;
				$a++;
			}
			
		}
		if (!empty($kA)) {
			$oE .= implode(', ', $kA);
		}
	}
}
Mostly EXIF is defined by names, but IPTC is stored in codes like this one: $iptc['2#025'], etc.

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