Links to lightbox view of X2 & X3 image-sizes don't work
thenickdude
Registered Users Posts: 1,302 Major grins
If you use the Image Sizes menu in the lightbox to explicitly choose an image size, then copy the URL from your address bar, you end up with a link that opens the lightbox on that photo at that specific size, e.g. this link at XL size works fine:
http://n-sherlock.smugmug.com/Flowers/Plants-and-flowers/i-WN3Hhss/XL
Other sizes that work fine are S, M, and L. But if you use X2 or X3 display sizes, the link just takes you to the gallery instead and doesn't open the lightbox:
http://n-sherlock.smugmug.com/Flowers/Plants-and-flowers/i-WN3Hhss/X2
http://n-sherlock.smugmug.com/Flowers/Plants-and-flowers/i-WN3Hhss/X3
The gallery definitely has the display of photos up to X3 large enabled.
The bug is due to this code in sm-gallery-views:
"2X" and "3X" are typos, they should be "X2" and "X3".
http://n-sherlock.smugmug.com/Flowers/Plants-and-flowers/i-WN3Hhss/XL
Other sizes that work fine are S, M, and L. But if you use X2 or X3 display sizes, the link just takes you to the gallery instead and doesn't open the lightbox:
http://n-sherlock.smugmug.com/Flowers/Plants-and-flowers/i-WN3Hhss/X2
http://n-sherlock.smugmug.com/Flowers/Plants-and-flowers/i-WN3Hhss/X3
The gallery definitely has the display of photos up to X3 large enabled.
The bug is due to this code in sm-gallery-views:
"2X" and "3X" are typos, they should be "X2" and "X3".
https://www.sherlockphotography.org/
Please check out my gallery of customisations for the New SmugMug, more to come!
Please check out my gallery of customisations for the New SmugMug, more to come!
0
Comments
That gallery is a smart gallery using keywords to pull the photos from another gallery. Photos will display using the security settings from the original gallery. It appears the setting on that gallery is XL as the largest size.
http://help.smugmug.com
http://n-sherlock.smugmug.com/Flowers/Plants-and-flowers/i-WN3Hhss/XL
Use the Image Sizes menu to change it to X3-Large, it'll display in X3-Large properly. Observe that the URL in your address bar changes to:
http://n-sherlock.smugmug.com/Flowers/Plants-and-flowers/i-WN3Hhss/X3
But try clicking the link above and it won't work, due to the bug in the code shown in my screenshot above.
Please check out my gallery of customisations for the New SmugMug, more to come!
Please check out my gallery of customisations for the New SmugMug, more to come!
This link works fine for me?
http://n-sherlock.smugmug.com/Flowers/Plants-and-flowers/i-WN3Hhss/X3
Well, wait - I see it now, sorry
Portfolio • Workshops • Facebook • Twitter
Facebook
Google+
Twitter
Photo Blog
Facebook
Google+
Twitter
Photo Blog
Facebook
Google+
Twitter
Photo Blog
Please check out my gallery of customisations for the New SmugMug, more to come!