Displaying Fatal Error if using switchimage

Phoca Gallery plugins - plugins for Phoca Gallery extension
DimiKoeln
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 18 Jan 2009, 21:33

Displaying Fatal Error if using switchimage

Post by DimiKoeln »

Hi to everyone reading this topic.

I' m using the Phoca Gallery Plugin to display Images in my content.
Every display method works fine. Except of the switchimage method.

If I use this method i get a fatal error:

Fatal error: Call to undefined method PhocaGalleryHelperFront::switchimage() in /mnt/web7/52/84/51807884/htdocs/fewo/plugins/content/phocagallery.php on line 757

It's this php-line (757):

Code: Select all

$document->addCustomTag(PhocaGalleryHelperFront::switchImage($waitImage));
Does anyone know, whats wrong?

Thanks in advance for your help.

DimiKoeln

p.s. By the way. Is there a method to center Images in the content if the plugin method shadowbox is used?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Displaying Fatal Error if using switchimage

Post by Jan »

Hi, do you have the same versions of Phoca Gallery Component and Plugin

Component 2.1.x = Plugin 2.2.x
If you find Phoca extensions useful, please support the project
DimiKoeln
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 18 Jan 2009, 21:33

Re: Displaying Fatal Error if using switchimage

Post by DimiKoeln »

Thank You Jan. :-) :twisted: :twisted:
Exactly that was the problem.

I was using the 1.8 Version of the plugin.

By the way. Is there a method to center the category images if the plugin is used. So that i see the switched image and the probably 2 images of the gallery in the center of the content page?

Thank you so much for your help and answer.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Displaying Fatal Error if using switchimage

Post by Jan »

great to hear it, Jan

centering - only if you set fix width of the whole box in css and then you will add centering methods into css file

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