View Full Version : Allow clicking on sizes for only one gallery
Stina
Oct-27-2008, 09:42 AM
Hi
On my site I've put in code to remove the size options on the flyout and the ability to click on the photos (lightbox feature I think its called). I took photos at a community event and want that directory to have those features enabled. Is it possible to add code that will allow those features for just one gallery?
Here is the link to the gallery
http://jcphotography-us.smugmug.com/gallery/6384165_jFFKk#403725710_ZQobh
Stina
Oct-27-2008, 04:07 PM
bump
jfriend
Oct-27-2008, 05:49 PM
Hi
On my site I've put in code to remove the size options on the flyout and the ability to click on the photos (lightbox feature I think its called). I took photos at a community event and want that directory to have those features enabled. Is it possible to add code that will allow those features for just one gallery?
Here is the link to the gallery
http://jcphotography-us.smugmug.com/gallery/6384165_jFFKk#403725710_ZQobh
Instead of what you have now which is
#photoSizes ul {display:none;}
you can use:
#photoSizes {display:none;}
.gallery_6384165 #photoSizes {display:block;}
This will hide it everywhere, except enable it in gallery 6384165. Is that what you are trying to do?
Allen
Oct-27-2008, 06:01 PM
Hi
On my site I've put in code to remove the size options on the flyout and the ability to click on the photos (lightbox feature I think its called). I took photos at a community event and want that directory to have those features enabled. Is it possible to add code that will allow those features for just one gallery?
Here is the link to the gallery
http://jcphotography-us.smugmug.com/gallery/6384165_jFFKk#403725710_ZQobh Change this in your CSS. The gallery key is not used in CSS. and a space is missing.
.gallery_/5921336_VnHvu#breadcrumb {visibility: hidden;}
.gallery_/5921336_VnHvu#altViews {visibility: visible;}
to this
.gallery_5921336 #breadcrumb {visibility: hidden;}
.gallery_5921336 #altViews {visibility: visible;}
Add the bold to turn them back on for that gallery.
#photoSizes ul {display:none;}
.gallery_6384165 #photoSizes ul {display:block;}
Might simply things, change all this
#bioBox .boxBottom {background:none;}
#bioBox {border: none !important;}
#bioBox .boxBottom {border-left: none !important;}
#bioBox .boxTop {border-left: none !important;}
#bioBox .boxBottom {border-right: none !important;}
#bioBox .boxTop {border-right: none !important;}
#bioBox .boxBottom {border-top: none !important;}
#bioBox .boxTop {border-top: none !important;}
#bioBox .boxBottom {border-bottom: none !important;}
#bioBox .boxTop {border-bottom: none !important;}
#bioBox .imgBorder {border: none;}
to this
#bioBox .boxBottom {
background: none !important;
border: none !important;
}
Stina
Oct-28-2008, 09:47 AM
Thanks for the help I now have the size options displayed :clap but how do I allow clicking for this directory only it does not open the file (I want the other directories that way just not this one). Or is there a way to only show the save file option and not the sizes I don't want to confuse people if it shows the size but wont open them.
Thanks for helping me clean up my code Allen.
Allen
Oct-28-2008, 12:37 PM
Thanks for the help I now have the size options displayed :clap but how do I allow clicking for this directory only it does not open the file (I want the other directories that way just not this one). Or is there a way to only show the save file option and not the sizes I don't want to confuse people if it shows the size but wont open them.
Thanks for helping me clean up my code Allen.
If you have originals off your visitors will not see any save icon. Only you if
logged in will see the save icon.
Stina
Oct-28-2008, 01:06 PM
I have originals turned on I want them to see the save icon but not the size list above because clicking on them does not work.
Allen
Oct-28-2008, 01:15 PM
I have originals turned on I want them to see the save icon but not the size list above because clicking on them does not work.
You have the lightbox turned off. Have no idea why you'd ever want to do that. So none of the sizes can be picked because they link to the lightbox view.
Stina
Oct-28-2008, 01:40 PM
You have the lightbox turned off. Have no idea why you'd ever want to do that. So none of the sizes can be picked because they link to the lightbox view.
To prevent opening the larger sizes and the having people print screen and save the file. It's happened several times to a friend of mine who also has a smugmug account
Allen
Oct-28-2008, 01:44 PM
To prevent opening the larger sizes and the having people print screen and save the file. It's happened several times to a friend of mine who also has a smugmug account
You mean like this?
http://jcphotography-us.smugmug.com/photos/403725710_ZQobh-X3.jpg
Can't get around that, just put any photo number and size in there to get it so you're wasting your time disabling lightbox.
Stina
Oct-28-2008, 01:56 PM
No just using the medium size option that is usually in the flyout over the photo. Once that opens, using the print screen key on the keyboard to save it to the windows clip board and then use that file to print from. I want the photos in the gallery above to be able to be saved. I however don't want other to have the larger sizes easily there in other galleries. I don't have problems resizing and give people copies of photos to use on myspace or facebook but don't want to make stealing my photos easier. I know someone determined can find a work around but I not planning on making it easier.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.