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.
You are not logged in.
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
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
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
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
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
"!=" means "is not equal to", so no, there is not a typo.
Offline
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
"!=" 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
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
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
Thanks, I found the problem.
Offline