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 Re: CE4 Gallery » Download icon in gallery gray instead of white » 2015-08-03 22:23:16

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.

#2 Re: CE4 Gallery » Download icon in gallery gray instead of white » 2015-08-03 22:10:54

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.

#3 Re: CE4 Gallery » Download icon in gallery gray instead of white » 2015-08-03 14:46:28

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

#4 Re: CE4 Gallery » Download icon in gallery gray instead of white » 2015-08-03 12:02:53

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.

#5 CE4 Gallery » Download icon in gallery gray instead of white » 2015-08-03 10:27:59

BigJonBear
Replies: 10

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.

Board footer

Powered by FluxBB