Smugmug style gallery bug?
JohnnyJr
Registered Users Posts: 174 Major grins
Hi all,
I'm stumped on this one. I've got this gallery set to Smugmug style (not smug small) -- when I view it (firefox mac) I see 15 thumbnails per page. When my wife views it (also firefox mac) she gets 9 per page:
http://www.sissonphotography.com/gallery/2937816#158539776
How many is everyone else seeing? I'd like to find a way to make sure it's 15 per page. I was about to start a complete site overhaul based on the Smugmug gallery style but don't want to waste my time if there are issues. Thoughts anyone?
Thanks so much!
John
I'm stumped on this one. I've got this gallery set to Smugmug style (not smug small) -- when I view it (firefox mac) I see 15 thumbnails per page. When my wife views it (also firefox mac) she gets 9 per page:
http://www.sissonphotography.com/gallery/2937816#158539776
How many is everyone else seeing? I'd like to find a way to make sure it's 15 per page. I was about to start a complete site overhaul based on the Smugmug gallery style but don't want to waste my time if there are issues. Thoughts anyone?
Thanks so much!
John
Elwood: It's 106 miles to Chicago, we've got a full tank of gas, half a pack of cigarettes, it's dark and we're wearing sunglasses.
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
0
Comments
can force Smugmug, only small. If someone has a low resolution browser
thay'll see 9 and it'll be full page just like you're seeing with 15. Forcing 15 and
they would have to scoll way to the right.
My Website index | My Blog
First, thanks for your help this week with this and other issues. Much appreciated.
You are right, it appears to be a viewport/monotor size issue. I have a 15" screen, wife has a 13" (duh.) Guess I didn't notice before, but when I'm seeing 15 thumbnails the whole gallery is shifted to the right of may page header & navbar so that it appears uncentered. :puke1
Any thoughts on keeping the gallery centered under the width of my header & navbar if the browser viewpoirt changes? I assume I'd have the same issue with Smugmug Small. If so, I'll need to rethink my site redesign based on those 2 gallery styles.
Thanks again!
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
You have a link to a Smugmug style gallery?
My Website index | My Blog
But if there's going to be centering issues, etc., I'll have to look at doing it another way. However, I'd prefer to use smugmug style if I can center the galleries under my header/navbar using that style.
It would also be great to get 12 thumbs on the page even for those viewing on a smaller screen. Perhaps there's a way to view 4 thumbnails per row in Smug Small style?
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
nav, body, footer, both in Smugmug and small.
My Website index | My Blog
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
landscape every things centered.
BTW, add the .menu in front of this. It's messes with tables without.
/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0;}
My Website index | My Blog
What I get in that test gallery is this:
-- With 9 thumbnails showing the gallery is centered regardless of landscape or portrait.
-- With more than 9 thumbnails showing the gallery is shifted left regardless of landscape or portrait.
If I'm going to use either of the Smug styles I'd like to have at least 12 thumbs per page and to be sure all viewers (or as many as possible) will see everything centered.
If in theory it may be shifting left for some viewers is there some bit of magic css to keep everything aligned to the navbar/header? Maybe I can force this to work in Smug Small?
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
Add this temporarily and see what you have.
.gallery_2937816 #photos {border: 1px solid red !important;}
My Website index | My Blog
I just realized there's another way to approach this issue of centering under the navbar/header:
http://awais.smugmug.com/gallery/978270#135509879
I like the way Awais has the horizontal lies between gallery and navbar. This would be an easy solution to the whole centering issue. Seems to me those lines came free of charge and I disabled them ages ago because they were dashed and green. Yup, here they are:
.right_border, .left_border { border: 0px; } /* removes the vertical dashed lines */
.top_border, .bottom_border { border: 0px; } /* removes the horizontal dashed lines ? */
So, any code for solid lines perhaps? And a way to make them a color of my choice?
Thanks!!
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
============ horizonal line ================================
footer or header
<hr id="line1">
css section:
#line1 {
background-color: white;
width: 750px;
height: 1px;}
#line1 {display:none;}
.gallery_2467128 #line1 {
display: block;
background-color: #444444;
width: 750px;
height: 1px;}
My Website index | My Blog
/* lines */
.gallery_2937816 .top_border {
border-top: solid 1px #666666;
}
.gallery_2937816 .bottom_border {
border-bottom: solid 1px #666666;
}
.gallery_2937816 .right_border {
border-right: solid 1px #666666;
}
.gallery_2937816 .left_border {
border-left: solid 1px #666666;
}
.gallery_2937816 .customizeGallery .boxBottom {
padding-bottom: 20px;
}
So, no centering issue now because the horizontal lines makes everything appear centered in the browser window. But on some screens, depending on the size, there will be 9 thumbnails per page & on others there will be 15... I'd really like to have only 1 page per gallery.
Ideally, if there's a way to force the Smugmug Small style to display 4x thumbnails per row I'd have 12 per page. That would be perfect! Do you think there's a way to get there?
Also, do I assume correctly that adding this would give me the lines in ALL galleries or not?
.gallery .top_border {
border-top: solid 1px #666666;
}
I'll try and see what happens...
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
.galleryPage .top_border {
border-top: solid 1px #666666;
}
Smugmug has 15
Smugmug small has 9
no changing that.
You can force small under gallery customization.
My Website index | My Blog
Thanks much & have a great evening, Allen!
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
SM.SmugMug.config.size = 'resizeable';
where 'resizeable' can be either that, or 'small' or 'large'.
Haven't actually tried it myself, but I found it here: http://www.dgrin.com/showthread.php?t=52107
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
After a couple of long days, I've completely updated my navigation based on Smugmug style.
Everything is great except: I'm not seeing easy sharing any longer as I was in Journal style. I suspect I have it supressed somehow because I have in enabled in my gallery control panel. I'd like to bring it back for all of my new smugmug style galleries and have it appear centered below the large view on the right side.
Do you have a general CSS code mod for that? I've done some searching but couldn't find code in the forums.
Thanks!
John
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
I see it both in FireFox and Opera. I attached you a screenshot.
Sebastian
SmugMug Support Hero
Thanks for looking into this fo me... however, that's actually not my site. I posted a link to that page because I wanted to replicate the horizontal & vertical lines, which I've successfully done. Here's my site:
http://sisson.smugmug.com/gallery/2937816#158539776
The share button is not appearing, although it is turned on in the gallery customization. I'd like to have the share button appear below the photo in all of my Sumgmug Style gallery.
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
www.ivarborst.nl & smugmug
Sebastian
SmugMug Support Hero
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
#breadcrumb{ display:none }
is causing the problem.
www.ivarborst.nl & smugmug
Good luck,
Sebastian
SmugMug Support Hero
#breadcrumb {visibility: hidden;}
.share_button {visibility: visible;}
My Website index | My Blog
Or, at least get it appear on the same line as the gallery navigation like this:
Page 1of 1 | 1 of 15 Next > Share
I hope that makes sense...
Next
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
Yes, this does indeed work beautifully, I only get the share button portion of the breadcrumb. Now, if I can just get it to appear below the photo or on the same line as the gallery navigation...
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/
.share_button {
visibility: visible;
position: relative;
top:100px;
}
Edit: Only with a gallery description though. Either 100 or 65 without a gallery description
Putting it above nav works for either.
.share_button {
visibility: visible;
position: relative;
top:-60px;
}
My Website index | My Blog
http://sisson.smugmug.com/gallery/2937816#158539776
http://sisson.smugmug.com/gallery/2435397#134822206
http://sisson.smugmug.com/gallery/2724456#147220598
Jake: Hit it.
http://www.sissonphotography.com
www.flickr.com/photos/sissonphotography
http://sissonphotography.blogspot.com/