Add a margin to the lightbox - Sherlock Photography
If your photos' maximum display size is large enough, the new SmugMug lightbox will allow your photos to stretch right up to the edge of the window. If you don't want your photos to actually touch the edges of the window, you can add this code to your theme's CSS:
That will create a margin of 3% of the photo's size around the edge of the lightbox, preventing the photo from touching the edges of the screen. The disadvantage of this method is that, if your photos currently aren't touching the edges of the screen, they will still be scaled down by 3%, making them slightly smaller than necessary.

Click on any photo to try it out

Powered by SmugMug Log In