Page 1 of 1

Displaying Fatal Error if using switchimage

Posted: 18 Jan 2009, 21:44
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?

Re: Displaying Fatal Error if using switchimage

Posted: 20 Jan 2009, 01:33
by Jan
Hi, do you have the same versions of Phoca Gallery Component and Plugin

Component 2.1.x = Plugin 2.2.x

Re: Displaying Fatal Error if using switchimage

Posted: 20 Jan 2009, 17:07
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.

Re: Displaying Fatal Error if using switchimage

Posted: 22 Jan 2009, 00:22
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