Hi,
After upgrade, thumbs not showed properly centered in Firefox.
To see what I mean:
http://www.escarabajoclubciudadreal.com ... &Itemid=19
(Solution provided in similar post doesn’t apply in this case).
Any hints will be appreciated..
After upgrade thumbs not showed centered in Firefox
-
JLomin
- Phoca Member

- Posts: 10
- Joined: 27 Feb 2008, 12:04
- Location: Spain
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: After upgrade thumbs not showed centered in Firefox
Hi, did you check if with standard template?
Try to add center style to:
components\com_phocagallery\views\category\tmpl\default.php
line cca. 114
change from:
to:
and let me know if this helped.
Jan
Try to add center style to:
components\com_phocagallery\views\category\tmpl\default.php
line cca. 114
change from:
Code: Select all
echo '<div class="phocagallery-box-file-first" style="height:'.$imageHeight['size'].'px;width:'.$imageWidth['size'].'px;">';Code: Select all
echo '<div class="phocagallery-box-file-first" style="height:'.$imageHeight['size'].'px;width:'.$imageWidth['size'].'px;margin:auto">';Jan
If you find Phoca extensions useful, please support the project
-
JLomin
- Phoca Member

- Posts: 10
- Joined: 27 Feb 2008, 12:04
- Location: Spain
Re: After upgrade thumbs not showed centered in Firefox
[b]Problem solved[/b] with that hack!
Great control over your code, Jan.
(thanks!)
Great control over your code, Jan.
(thanks!)
- JanRoza
- Phoca Newbie

- Posts: 4
- Joined: 22 May 2010, 01:18
Re: After upgrade thumbs not showed centered in Firefox
I too had this problem after upgrading from 2.6.1 to 2.7.1 and I also changed the code in default.php but with me the thumbnails are still out of line.
Any ideas what else to do to cure this?
Thanks!
Jan
Any ideas what else to do to cure this?
Thanks!
Jan
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: After upgrade thumbs not showed centered in Firefox
Hi, can I see the site with default template?
If you find Phoca extensions useful, please support the project
- JanRoza
- Phoca Newbie

- Posts: 4
- Joined: 22 May 2010, 01:18
Re: After upgrade thumbs not showed centered in Firefox
Sorry for my late reaction.
The production is running a much older version of Gallery, but my test website is now running 2.61 again since version 2.71 did not show the thumbnails correctly. This 2.61 version uses the Blue theme.
You can see the galleries vie link: http://213.10.59.241/vhz-t/index.php?op ... Itemid=115
I'm not sure what the default theme is or how I reset the galleries to the default.
Hope you can find a solution (no hurry though as version 2.61 is doing the job very well).
Thanks!
Jan
The production is running a much older version of Gallery, but my test website is now running 2.61 again since version 2.71 did not show the thumbnails correctly. This 2.61 version uses the Blue theme.
You can see the galleries vie link: http://213.10.59.241/vhz-t/index.php?op ... Itemid=115
I'm not sure what the default theme is or how I reset the galleries to the default.
Hope you can find a solution (no hurry though as version 2.61 is doing the job very well).
Thanks!
Jan
- Benno
- Phoca Hero

- Posts: 10081
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: After upgrade thumbs not showed centered in Firefox
Hi,
take com_phocagallery_theme_default.zip (23.77 kB)
Kind regards,
Benno
https://www.phoca.cz/download/category/3 ... ery-themesI'm not sure what the default theme is or how I reset the galleries to the default.
take com_phocagallery_theme_default.zip (23.77 kB)
Kind regards,
Benno
- JanRoza
- Phoca Newbie

- Posts: 4
- Joined: 22 May 2010, 01:18
Re: After upgrade thumbs not showed centered in Firefox
Going to the website for the default theme file I saw that a new release of Phocagallery was out 2.72 so I downloaded and installed that one on my test server. This release solves the problems I had with thumbnail allignments. The default theme as well as the blue theme now show up correctly again.
So problem solved, Jan did a great job with updating his Phoca Gallery again. Compliments!
Jan

So problem solved, Jan did a great job with updating his Phoca Gallery again. Compliments!
Jan
- Benno
- Phoca Hero

- Posts: 10081
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: After upgrade thumbs not showed centered in Firefox
Ok.
Kind regards,
Benno
Kind regards,
Benno