Hello,
last days I switched my Piwigo gallery (2.5.4) to another (intranet) server and first everything looked fine. But then I realized that on the thumbnail and picture pages the icons in the upper right corner were missing (see enclosed images) - and I couldn't find out why.
Anyone an idea what could happen and how I can solve this problem.
Piwigo version: 2.5.4
PHP version: 5
MySQL version: 5.5.37-0ubuntu0.13.10.1
Piwigo URL: not available in public
Thanks in advance
Harry
Offline
Hello
without access this is going to be very hard to guess
start to check the html and tell us what's rendered
Offline
Hello,
thanks for reply. Sorry, but the gallery is on a server without connection to the internet. I hope we'll get it anyway.
The HTML looks fine for me but the CSS seems to be strange. When I look into Firebug I see that there is only 4 x 15 px space for <span class="pwg-icon pwg-icon-sizes"> and 0 x 15 px for the other icons. That can't be right. The second wrong entry is that the <a ...> for the icon to change the image size is 26 x 15 px an the rest 26 x 0 px. I attached Firebug screenshots.
I guess somehting went wrong with calculating the screen output for the resolution (1920 x 1200).
Regards
Harry
Last edited by HarryF (2014-04-27 17:50:52)
Offline
Hello all,
after some CSS experiments I found the solution myself.
I added the line
.pwg-icon {display: block; height: 26px; width: 26px;}
to the CSS section of the LocalFiles Editior in the backoffice of Piwigo. I don't have a clue why the rendering fails in that point on my Linux Firefox (it worked fine on Windows) but with the CSS addition it looks good.
Harry
Offline