piwigo-bootstrap-darkroom icon indicating copy to clipboard operation
piwigo-bootstrap-darkroom copied to clipboard

number of visits & score displaying on mouseover

Open licks0re opened this issue 4 years ago • 1 comments

Good evening,

I have setup piwigo & darkroom theme and I have a problem. In my piwigo configuration, I disabled the "show number of visits" & "show score".

When I click on a thumbnail, the picture displays and # of visit & score is hidden.

But, when I hover the thumbnail, I see those values in an "information popup" which are supposed to be (in my case) hidden.

I don't know where to search at all. In the css? Modify that with the localfileeditor? No idea...

Can someone help me to remove these information?

I think it's a bug since if someone disable displaying those values in piwigo configuration, then it should no show when someone hover a thumbnail.

I hope I'm not duplicating an issue, I didn't find anything in the wiki mentionning that.

Thanks in advance! Gui

licks0re avatar May 21 '20 17:05 licks0re

Found the solution myself. Edit the /piwigo/themes/bootstrap_darkroom/template/thumbnails.tpl

Change the line :

<img class="{if $smarty.cookies.view == 'list'}card-img-left{else}card-img-top{/if}" {if $derivative->is_cached()}src="{$derivative->get_url()}"{else}src="{$ROOT_URL}themes/bootstrap_darkroom/img/transparent.png" data-src="{$derivative->get_url()}"{/if} alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}">

to

<img class="{if $smarty.cookies.view == 'list'}card-img-left{else}card-img-top{/if}" {if $derivative->is_cached()}src="{$derivative->get_url()}"{else}src="{$ROOT_URL}themes/bootstrap_darkroom/img/transparent.png" data-src="{$derivative->get_url()}"{/if} alt="" title="">

No more popup!

licks0re avatar May 21 '20 18:05 licks0re