Download Icon not showing

Phoca Gallery - image gallery extension
Enrico61
Phoca Member
Phoca Member
Posts: 13
Joined: 08 Sep 2013, 01:04

Download Icon not showing

Post by Enrico61 »

Hi, sorry to open a new topic. I have Phoca Gallery 4.3.18 on Joomla 3.9.14. I set:
Display Name + Display Detail Icon + Display Download Icon
ALL to "display" but I don't see any icon/button under miniatures and preview.
I need to allow registered users to download their hires photos
Any idea on why this happen and how can I do to solve it? thanks a lot guys and compliments for the great job you all do
https://imgur.com/a/UEvgYXV

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9451
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Download Icon not showing

Post by Benno »

Hi,
perhaps a Template problem...
Try to switch to the Joomla! Standard Template Protostar for testing and check again.

Kind regards,
Benno
Enrico61
Phoca Member
Phoca Member
Posts: 13
Joined: 08 Sep 2013, 01:04

Re: Download Icon not showing

Post by Enrico61 »

Hi Benno. Thanks for your interest. It is already the standard Protostar Template with no personalizations (I'm aware that templates causes a lot of problems so I usually stick with standard solutions)
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Download Icon not showing

Post by christine »

Hi,

hmm. Check/compare these lines if similar (Protostar):

<a title="Download" href="/galerie/xyz/detail/9791-img_7258?tmpl=component&amp;phocadownload=2"><img src="/media/com_phocagallery/images/icon-download.png" alt="Download"></a>
OT: but I have: Display Download (direct download).

CSS .../media/com_phocagallery/css/custom/default.css/ ca. line 196

Code: Select all

.pg-icon-detail {
    text-align: right;
    margin: 0px;
        margin-top: 0px;
    padding: 0px;
    margin-top: 2px;
}
Kind regards
Christine

Hi Benno: guten Rutsch 2020 :-)
Enrico61
Phoca Member
Phoca Member
Posts: 13
Joined: 08 Sep 2013, 01:04

Re: Download Icon not showing

Post by Enrico61 »

Hi Christine. Looking at page source the single images have this code:
<div class="pg-box-img-bottom">
<div class="pg-cv-name">IMG_6387</div><div class="pg-icon-detail"> <a class="phocagallerycboxplusi" title="IMG_6387" href="/images/phocagallery/Sci_Alpino/Stagione2018_2019/2019_03_31_Uovo_Sodo_Devero/thumbs/phoca_thumb_l_IMG_6387.jpg" rel="phocagallerycboxplusi" ><span class="glyphicon glyphicon-zoom-in "></span></a> <a class="phocagallerycboxpluso" title="Download" href="/index.php/sci-alpino/stagione-2018-2019/2019-03-31-uovo-sodo-devero/3-2019-03-31-uovo-sodo-devero/detail/1-img-6387?tmpl=component&amp;phocadownload=1" rel="phocagallerycboxpluso" ><span class="glyphicon glyphicon-download-alt "></span></a></div>
<div class="ph-cb"></div>
</div>
</div>
------
In the .css I see the same code you pasted:
.pg-icon-detail {
text-align:right;
margin:0px;
padding:0px;
margin-top: 2px
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Download Icon not showing

Post by christine »

Hi Enrico,

last try in old year :-)

PG > Options > General Settings > Bootstrap3 icons > No

Kind regards
Christine
Enrico61
Phoca Member
Phoca Member
Posts: 13
Joined: 08 Sep 2013, 01:04

Re: Download Icon not showing

Post by Enrico61 »

:twisted: :twisted: :twisted: :D :D :D
THANK YOU CHRISTINE!! IT WORKS!!
It seems that normal download requires a double operation frome the guest: it opens a preview with instructions to rightclick and save image. But I solved just selecting "display (direct download)"
You saved my Happy New Year's Eve
Enrico61
Phoca Member
Phoca Member
Posts: 13
Joined: 08 Sep 2013, 01:04

Re: Download Icon not showing

Post by Enrico61 »

Sorry to bother you again: how do I sign the topic as "solved"?
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Download Icon not showing

Post by christine »

Hi Enrico,

fine, that's working now :D

Happy New Year!
Kind regards
Christine
Post Reply