Category View: Images overlapping Image-Name in Firefox.

Phoca Gallery plugins - plugins for Phoca Gallery extension
Qvarnis
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Apr 2009, 17:27

Category View: Images overlapping Image-Name in Firefox.

Post by Qvarnis »

Hi all,

i stumbled across a problem with this fine extension. When vieving a specific Category from the plugin and you have disabled all Display Options, i.e Details/Download etc, except the Name option i got images overlapping.

If you have 3 rows of thumbnails in your view the 2:nd and 3:rd rows will overlapp the Image Name of the above Image Row.
This prevented the Image Name to show correctly.

I tried to solve this by changing stuff in settings but nothing helped so i made a hack in the plugin php code as below:

On row 799 i changed the if statement to this:

if ($displayname == 1) {
//Hack by Qvarnis 2009-04-01, Firefox does'nt show the name of the image if you have images below.
// i.e the image below is obstructing the image name of the above image. This problem does'nt show
// in Internet Explorer.
// This problem only occurs if you have turned of all the other display options like details,
// download etc...and onle have the name to display.
$boxImageHeight = $boxImageHeight + 25;
//$boxImageHeight = $boxImageHeight + 20;
}

Thank you for a very nice extension and all the work you put into this.
Have a good day.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category View: Images overlapping Image-Name in Firefox.

Post by Jan »

Hi, ok ... in component you can set it in parameters...
If you find Phoca extensions useful, please support the project
Post Reply