Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-08-03 10:27:59

BigJonBear
Member
Registered: 2015-05-25
Posts: 5

Download icon in gallery gray instead of white

On my gallery pages, the download "cloud" is gray while all of the other icons are white.  Is there a way to correct this?

Thanks in advance.


http://www.potomacdigitalphotography.co … dgesville/
Click on thumbnail to enter slideshow, click on image to get navigation icons.

Offline

#2 2015-08-03 11:13:44

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Download icon in gallery gray instead of white

this is because you've either not enabled downloads or perhaps you've not supplied download renditions
http://ce4.theturninggate.net/docs/doku … e_download


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2015-08-03 12:02:53

BigJonBear
Member
Registered: 2015-05-25
Posts: 5

Re: Download icon in gallery gray instead of white

Rod, first off, thanks for all of the sage advice you have here and on your site.

The download works fine, I have the checkbox ticked in the templates, I use Publisher, etc. 

It's simply gray instead of white I believe.

Offline

#4 2015-08-03 13:25:02

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Download icon in gallery gray instead of white

it looks as if the  inline style for the disabled download icon is being applied. (.25 opacity)
Did you happen to first have downloads disabled and then changed that setting and not upload all the files from the subsequent export?
Try uploading the template again, making sure that your FTP program is set to overwrite.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2015-08-03 14:46:28

BigJonBear
Member
Registered: 2015-05-25
Posts: 5

Re: Download icon in gallery gray instead of white

I re-exported the gallery template.
I deleted the original template off my server.
I FTP'd the new template out there.
Same problem.

I turned off "Share resources with Pages" because the .js being used by the gallery was the pages magnific.js, not the one from the gallery.

I then re-exported, FTP, etc.  Now, the magnific.js is coming from my gallery template.

But is this a typo in the code?

(about to look like a fool, I haven't debugged code in years)
From Lines 465 - 469 in the source for this gallery:

http://www.potomacdigitalphotography.com/galleries/aaa/


    function updateDownloadButton(currentImage){
        if ($("#" + currentImage).attr("data-download") != 'yes') {
            $('li.mfp-download a').css({ opacity: 0.25 });
        } else {
            $('li.mfp-download a').css({ opacity: 1 });

If data download = yes, shouldn't opacity be 1, else .25

Offline

#6 2015-08-03 19:09:21

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Download icon in gallery gray instead of white

"!=" means "is not equal to", so no, there is not a typo.


Matt

The Turning Gate, http://theturninggate.net

Offline

#7 2015-08-03 21:45:18

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Download icon in gallery gray instead of white

I can reproduce this.

Matt, it looks like the download icon on the large images is tied to the Map icon. If "Enable Google Maps" is not checked, then the download icon is greyed out on large images


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2015-08-03 22:10:54

BigJonBear
Member
Registered: 2015-05-25
Posts: 5

Re: Download icon in gallery gray instead of white

Matthew wrote:

"!=" means "is not equal to", so no, there is not a typo.

Aha, good. I told you it's been too long. I still read ! in code as "bang"... (showing my age)


Rod, nice find.

Offline

#9 2015-08-03 22:23:16

BigJonBear
Member
Registered: 2015-05-25
Posts: 5

Re: Download icon in gallery gray instead of white

For the record: I edited my gallery index.php files so the icon shows in full opacity now in case you suddenly can't reproduce it on my site.

Thank you.

Offline

#10 2015-08-03 22:50:31

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Download icon in gallery gray instead of white

Matt, here's a Maginific album with downloads enabled but Google Maps disabled.
Download link in large image is greyed out but download still works:
http://ce4.barbeephoto.com/galleries/magnific-download/


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#11 2015-08-04 15:01:12

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Download icon in gallery gray instead of white

Thanks, I found the problem.


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB