Page 1 of 1
After upgrade thumbs not showed centered in Firefox
Posted: 20 May 2010, 09:11
by JLomin
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..
Re: After upgrade thumbs not showed centered in Firefox
Posted: 20 May 2010, 10:22
by Jan
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:
Code: Select all
echo '<div class="phocagallery-box-file-first" style="height:'.$imageHeight['size'].'px;width:'.$imageWidth['size'].'px;">';
to:
Code: Select all
echo '<div class="phocagallery-box-file-first" style="height:'.$imageHeight['size'].'px;width:'.$imageWidth['size'].'px;margin:auto">';
and let me know if this helped.
Jan
Re: After upgrade thumbs not showed centered in Firefox
Posted: 20 May 2010, 10:43
by JLomin
[b]Problem solved[/b] with that hack!
Great control over your code, Jan.
(thanks!)
Re: After upgrade thumbs not showed centered in Firefox
Posted: 22 May 2010, 01:23
by JanRoza
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
Re: After upgrade thumbs not showed centered in Firefox
Posted: 31 May 2010, 11:59
by Jan
Hi, can I see the site with default template?
Re: After upgrade thumbs not showed centered in Firefox
Posted: 20 Jun 2010, 21:10
by JanRoza
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
Re: After upgrade thumbs not showed centered in Firefox
Posted: 20 Jun 2010, 22:01
by Benno
Hi,
I'm not sure what the default theme is or how I reset the galleries to the default.
https://www.phoca.cz/download/category/3 ... ery-themes
take com_phocagallery_theme_default.zip (23.77 kB)
Kind regards,
Benno
Re: After upgrade thumbs not showed centered in Firefox
Posted: 20 Jun 2010, 23:21
by JanRoza
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

Re: After upgrade thumbs not showed centered in Firefox
Posted: 21 Jun 2010, 07:00
by Benno
Ok.
Kind regards,
Benno