Turn off Lightbox
System
Registered Users Posts: 8,186 moderator
Hi, I really DO NOT like the lightbox at all. Now all of my galleries, using smugmug display, automatically go to the gear thing and the lightbox display. I don't want this...some people may, I just want to turn this off.
How do it turn this OFF for my entire SM website. Thanks, Shane
How do it turn this OFF for my entire SM website. Thanks, Shane
0
Comments
It really helps to have your smugmug name for us to help you. I have to look you up, back soon.
Portfolio • Workshops • Facebook • Twitter
So, in this gallery:
http://shanecanfield.smugmug.com/gallery/908190/1/42826381
When you say "defaults" to LightBox, that's not entirely accurate. Using the page navigation, I can scroll through your galleries, no LightBox. You do get LightBox when you click on an image. Prior, you'd have gotten an image popup window. If you try the behavior in other viewing styles (like traditional, for example) you'll see that you get to see -L on the page, not in LightBox.
Make sense?
Portfolio • Workshops • Facebook • Twitter
http://www.smugmug.com/help/viewing-online-photo-albums
Portfolio • Workshops • Facebook • Twitter
I loved this one:
http://shanecanfield.smugmug.com/gallery/908190/2/41319757/Large
Portfolio • Workshops • Facebook • Twitter
Not sure what you mean about needing my SM name? All my data is below? Guess not...what is my SM name?
JT, yes like it was before...I liked that better. I can see how the lightbox would be good for many, I just want to not use it. I hope this does not sound like a judgement on the feature, its not. Thanks, Shane
http://shanecanfield.smugmug.com/ is how I have to view your site when I need to be logged in and see for any irregularities that may or may not be there
Portfolio • Workshops • Facebook • Twitter
Are you expecting that visitors will use the LightBox to scroll through your gallery? That's not what it's for, it's to make one photo, "front and center" if the viewer would like a closer look.
Portfolio • Workshops • Facebook • Twitter
http://andydemo.smugmug.com/gallery/1160423
Portfolio • Workshops • Facebook • Twitter
Again, its not bad and maybe 99% of SM folks love it...I just want to turn it off. Hopefully that is possible? Thanks for understanding. Shane
Click Large, you get single image view. Then try it
What's intuitive to you may not be the same to your visitors. Either way, it's up to you, there are ways to disable but we're not sure yet what happens when you use such code - hacks and tricks like this are at your own risk..
Back in about an hour or two...
Portfolio • Workshops • Facebook • Twitter
Hi smugbug,
Have you seen "SmugMug Classic?"
AFAIK, you can still have the "old way"
Portfolio • Workshops • Facebook • Twitter
The lightbox has wonderful potential to be the primary viewing method. Smooth transitions, captions, ordering info. All these things would make use of the potential of the lightbox. From an interface stand point, it is gorgeous, if crippled. I don't see any reason to make it deliberatly crippled (especially to force users to use the other views).
-russ
-russ
Portfolio • Workshops • Facebook • Twitter
Which SM viewing styles do NOT have lightbox? smugmug does, which don't? I'll use one that does not have it until you guys set up an option to turn it off. Thanks, Shane
WE may not, too. Did you try the hack above?
Filmstrip and Slideshow do not use LB..
Portfolio • Workshops • Facebook • Twitter
What does this mean, "WE may not, too."? I don't know what hack above you are talking about. Thanks, Shane
I posted this earlier in this very thread. A hack...
"We may not" means just that - SmugMug, may not make a way to not use LB - but others already have
Portfolio • Workshops • Facebook • Twitter
Ok, well, I looked at that earlier but I don't have a clue what it is...I just don't have the computer background to figure out what the link to the hack demo is exactly or how to do something like that. I guess if SM does not allow LB to be optional, then I'm SOL...all I know is that its late, time to go to bed, and time to stop thinking about this. Let us know if and when the LB optional comes to pass, best, Shane
Hi Shane,
The link was just to show you If you want to have that, I can show you how - it's a cinch.
Cheers
Portfolio • Workshops • Facebook • Twitter
My main concern is that Lightbox enables when you choose to view images in their "Original size" for any page style. But for small, medium and large, you get the normal navigation style. Why the inconsistency? (I don't upload full-resolution images as my "originals", but instead my own resized jpgs at 1000 pixels wide. This is because I think "large" is too small to be the largest viewing size. Plus Smugmug's resizing algorithms suck).
No, but it was a response to your statement saying SmugMug doesn't allow you to have it the "old" way.
Portfolio • Workshops • Facebook • Twitter
We're extremely open, smugbug. I'm amazed at what folks can do with their SmugMug sites every day So, have it your way:
Put this in your CSS:
Put this in your Javascript:
[php]
addEvent(window, "load", hackPhotoBox);
function hackPhotoBox()
{
if(IsClass("singleImage"))
{
re = /(javascript:)openLB\(([0-9]+)(,'Original'),'(Original)?'\)/;
divTag = document.getElementById('sizePicker');
aTags = divTag.getElementsByTagName('a');
for (i=0; i<aTags.length; i++)
{
if (re.test(aTags.href))
{
temp = aTags.href.replace(re, "$1popupPhoto()");
aTags.setAttribute("href",temp);
}
}
divTag = document.getElementById("photos");
if (divTag)
{
divTags = divTag.getElementsByTagName("div");
for (i=0; i<divTags.length; i++)
{
if (divTags.className == "photo")
{
aTags = divTags.getElementsByTagName("a");
aTags[0].setAttribute("href", "javascript:popupPhoto();");
}
}
}
}
}
function popupPhoto()
{
re = /\/([0-9]+)\/(Original|Large|Medium|Small)(\/)?$/;
re.exec(window.location);
//go get image info from ajax
postArray = new Array();
postArray = 'lightBoxImage';
postArray = RegExp.$1; //ImageID;
postArray = "Original"; //reqSize;
postArray = pageType;
postArray = pageTypeDetails;
postArray = siteUser;
closeLB();
ajax_query(popupHandler, webServer+'/hack/RPC/gallery.mg', postArray, true);
}
function popupHandler(response)
{
var imgUrl;
response = response.split(//);
imgUrl = response[1];
window.open(URLDecode(webServer+imgUrl), 'ssFull410982', 'scrollbars=0,status=0,resizable=1,width='+screen.width+',height='+screen.height+',top=0,left=0');
}
function IsClass(sClass) {
sClassName = document.body.className;
re = new RegExp(sClass + "( |$)")
if (!sClassName)
return false;
return re.test(sClassName);
}
[/php]
Portfolio • Workshops • Facebook • Twitter
Thanks for the feedback! I see you feel strongly about this. Maybe you would be willing to read this thread and provide some some more detailed feedback there. Thanks!
Portfolio • Workshops • Facebook • Twitter
That's correct.
Portfolio • Workshops • Facebook • Twitter