Hello out there,
I downloaded Phoca Gallery last week and I am generally very happy with it. The only problem I have, is that the images in the modal box are not centered. They are completly on the right side. It is even missing a little bit of the original image (right side). How can I center the images? My images are not always the same size. (landscape or upright)
I have also tested a youtube, which works fine. It is center. How comes?
Any support highly appreciated,
regards
Johannes
center image in modal box
-
juntiedt
- Phoca Newbie

- Posts: 4
- Joined: 24 Oct 2011, 12:27
Re: center image in modal box
Hi,
I found out, that the Gantry template, which I am using, uses the mootools library and that this might interfere with Phoca Gallary. But how can I solve this isue. What do I have to change, to make sure, both components are using the same version of Mootools?
regards
Johannes
I found out, that the Gantry template, which I am using, uses the mootools library and that this might interfere with Phoca Gallary. But how can I solve this isue. What do I have to change, to make sure, both components are using the same version of Mootools?
regards
Johannes
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: center image in modal box
Hi, Phoca Gallery does not use "own" mootools, it uses the Joomla! framework mootools library, so then you need to solve problem between ghe Gantry and Joomla! mootools library

Jan
Jan
If you find Phoca extensions useful, please support the project
-
juntiedt
- Phoca Newbie

- Posts: 4
- Joined: 24 Oct 2011, 12:27
Re: center image in modal box
Hi Jan,
thanks for your response!
Somewhere in the forum I read, that there might be a problem with the alingnment of the picture. I my case it seems that the pichture is alinged to right side. Where can I find the html or css code to fix it resp. to commnet it out?
regards
Johannes
thanks for your response!
Somewhere in the forum I read, that there might be a problem with the alingnment of the picture. I my case it seems that the pichture is alinged to right side. Where can I find the html or css code to fix it resp. to commnet it out?
regards
Johannes
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: center image in modal box
Hi, this needs to be found in template css and fix it (some templates makes some reset functions of css so this needs to be changed - the info should be found in this forum too)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
juntiedt
- Phoca Newbie

- Posts: 4
- Joined: 24 Oct 2011, 12:27
Re: center image in modal box
Hi Jan,
i am still not successful
I want to show photos and youtube films with your gallery.
Using Highslide JS window, photos are not in the center but the videos are ok and centered.
Using Highslide JS (image only) the photos are ok but films are of course not working.
As I am not a specialist of html, css and php I do need your advice again.
thanks in advance and regards
Johannes
i am still not successful
I want to show photos and youtube films with your gallery.
Using Highslide JS window, photos are not in the center but the videos are ok and centered.
Using Highslide JS (image only) the photos are ok but films are of course not working.
As I am not a specialist of html, css and php I do need your advice again.
thanks in advance and regards
Johannes
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: center image in modal box
Hi,
1) then seems like the img tags are somehow designed by the template css
2) image method cannot be used for videos (html) - https://www.phoca.cz/documents/50-phoca/ ... al-advices (8)
Jan
1) then seems like the img tags are somehow designed by the template css
2) image method cannot be used for videos (html) - https://www.phoca.cz/documents/50-phoca/ ... al-advices (8)
Jan
If you find Phoca extensions useful, please support the project