Tweak the New Visitor Gallery Download Button
leftquark
Registered Users, Retired Mod Posts: 3,784 Many Grins
Today we're pleased to announce the ability to allow visitors to download an Entire Gallery without requiring you, the owner, to generate the download link. You can read the announcement here: http://www.dgrin.com/showthread.php?p=2001226
I'd like to offer a few pointers on how to tweak it:
1) Access the Download All button using the CSS class:
2) Hide the button (which you can do in Gallery settings, but if you'd like to do it sitewide you can add it to your Entire Site or "All Galleries")
3) Change the "Download All" button text:
I'd like to offer a few pointers on how to tweak it:
1) Access the Download All button using the CSS class:
.sm-gallery-download-button
2) Hide the button (which you can do in Gallery settings, but if you'd like to do it sitewide you can add it to your Entire Site or "All Galleries")
/* Hide the visitor download all button */ .sm-gallery-download-button { display: none; }
3) Change the "Download All" button text:
/* Hide the "Download All" button text */ .sm-gallery-download-button .sm-button-label { display: none; } /* Change the "Download All" button Text */ .sm-gallery-download-button .sm-button:after { content: ' Customize Me'; }
dGrin Afficionado
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
0
Comments
Sorry if this isn't the correct place to post -- but this situation is driving me nuts because it was doable on the legacy version and now maybe not -- and I'm not sure where to post..
It seems that in the new SmugMug, if "hide owner" is turned on, that there is a lot of customization that can no longer be done, even if specified in "All Galleries" like you indicated in your thread (such as hiding the one download button but not both). I have that exact CSS specified for "All Galleries", but it is ignored..
Do you perhaps have any other ideas on how to get the "download all" button not to be displayed, but the "download the big pic" to indeed still be displayed?
(or conversely, how to get the gallery address in the URL not to show actual/full path to the gallery-- another way to "hide the owner" so I can retain customization abilities?)
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Thanks so much for responding! Yes, I have tried that (In Gallery settings>Photo Protection, Max Display size = original, Right-click protected = off). If, I turn off the Download Button, then I lose both of the download buttons. If I turn it on, then I get both (and I don't want the "Download all" button, but do want the "download the big picture" button).
I want my viewers to only be able to download one at a time, but at the original resolution.
It used to be so easy on the legacy version (even when "hide owner" was on), because of that folder icon that would appear when hovering over the big picture.
They can now still download an original resolution picture (even if there are no download buttons) -- but without the download buttons, it is not obvious at all (have to click on the big picture, then in the lower right, select the desired resolution, then right click > save).
-- with additional investigation, I have found that I can actually leave "hide owner" turned off and achieve what I wanted. In the legacy version, if hide owner wasn't on, then a user to your page could traverse the URL and go to all sorts of places on your site that you didn't want them to go to (even if everything was private, they could still see all the thumbnails). With the new Smugmug, I have found this not to be the case. If I go to any other "sub-destination" on the URL (in which they're all private/unlisted), it shows a page not found message (I also understand these are customizable -- for a future day!). I can then customize as desired (e.g. using CSS to display just the single-photo-download-button), etc. I'm still tweaking on the CSS, but at least I have that option, whereas before I didn't...!!!!
This isn't the fanciest code, but it does work:
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
sweet! thank you!
gallery settings and turn it on. Download ALL then turn it back off. I use the download a single photo all the
time especially for uploaded phone photos to edit but it only shows when logged in.
Hiding it with CSS can be overridden with web tools.
My Website index | My Blog