• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support Legacy SmugMug Customization how to change Sub-Category thumb to same size as the rest

Need some help with your New SmugMug Site?

Dgrin Challenges

Our Challenges moderator has lined up an new set of challenges for you. The Weekly Word Challenge. Get all the details and participate in the conversation Weekly Word Challenge.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Looking for a little challenge? The Dgrin Mini-Challenges are a great way to challenge yourself. Take a moment to look through past winners and find the current Mini Challenge here.

From Around the Net

Enjoy a few of our favorite articles from around the 'net. If you have something you think we should see, post it here and we'll have a look.

Journeys

Landscapes

Sports

 
Thread Tools Display Modes
Page 2  of  2
1 2
Old Jul-17-2009, 12:19 PM
#21
nickhaigh is offline nickhaigh OP
Major grins
Quote:
Originally Posted by jfriend
this hasn't made a difference to the size of the thumbs!
anything else I can do?

Nick, you are using a script (that I wrote) that combines the sub-categories and the gallery thumbs into one box and it hides some of the remaining chrome. It will be easier to sort out what's going on in this page if you remove that script and disable the CSS associated with it so you can see the real Smugmug page.

I think you may be seeing the fact that while gallery thumbs will go to 150x150 when there are 5 or less, sub-category thumbs don't do that - perhaps they are always 100x100. So, as long as you have 5 or less galleries, they won't be the same size as your sub-category thumbs and thus you should not combine them like you are doing (or add more galleries).
This is the page
http://www.nickhaigh.net/Portfolio
I would just like the Sub Category & Galleries on the same line and the thumbs all the same size

I've removed the following code (that you wrote) from the CSS
/*=====No Titles!!=====*/
#galleryTitle,
#categoryTitle,
#subcategoryTitle,
#subCatGalleryTitle
{display:none;}


/*====No More Border====*/
.galleryPage,
.boxBottom,
.boxTop,
.box
{border:none !important;}

plus the code in the Bottom JavaScript

it's now back to how it was when I created the Sub Category.

Last edited by nickhaigh; Jul-17-2009 at 12:34 PM.
Old Jul-17-2009, 12:25 PM
#22
jfriend is offline jfriend
Scripting dude-volunteer
Quote:
Originally Posted by nickhaigh
I cannot remember what code you told me to add? I have removed
the code from CSS but this has just added borders, not moved the sub category away from the galleries.
what else was it I added?
The script will temporarily not combine the categories and galleries if you put #stop on the end of the URL like this (you may have to hit refresh to force a page reload):

http://nickhaigh.smugmug.com/Portfolio#stop

or you can change this one line of your bottom javascript from this:

YE.onContentReady("subcategoriesBox", CombineCategoriesWithGalleries);

to this (comments it out so it won't execute):

// YE.onContentReady("subcategoriesBox", CombineCategoriesWithGalleries);
__________________
--John
Homepage Popular
JFriend's javascript customizations Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Jul-17-2009, 12:41 PM
#23
nickhaigh is offline nickhaigh OP
Major grins
Quote:
Originally Posted by nickhaigh
This is the page
http://www.nickhaigh.net/Portfolio
I would just like the Sub Category & Galleries on the same line and the thumbs all the same size

I've removed the following code (that you wrote) from the CSS
/*=====No Titles!!=====*/
#galleryTitle,
#categoryTitle,
#subcategoryTitle,
#subCatGalleryTitle
{display:none;}


/*====No More Border====*/
.galleryPage,
.boxBottom,
.boxTop,
.box
{border:none !important;}

plus the code in the Bottom JavaScript

it's now back to how it was when I created the Sub Category.
Once I did this, I then changed the 2 gallery thumbs back to 'Original' size and now they are of similar size (apart from the sub category is square & galleries are portrait)
but they aren't as large as before.
I now need to move the 2 galleries & sub category thumbs back up to the same line and remove the borders & text.
Old Jul-17-2009, 12:48 PM
#24
nickhaigh is offline nickhaigh OP
Major grins
Quote:
Originally Posted by jfriend
The script will temporarily not combine the categories and galleries if you put #stop on the end of the URL like this (you may have to hit refresh to force a page reload):

http://nickhaigh.smugmug.com/Portfolio#stop

or you can change this one line of your bottom javascript from this:

YE.onContentReady("subcategoriesBox", CombineCategoriesWithGalleries);

to this (comments it out so it won't execute):

// YE.onContentReady("subcategoriesBox", CombineCategoriesWithGalleries);
sorry I didn't get any of this? I didn't add a # at the end!!

I think this was before I added the update of what I did,
all i need to do now is put the sub category & gallerries on the
same line, also remove the text & borders!
Old Jul-17-2009, 12:49 PM
#25
jfriend is offline jfriend
Scripting dude-volunteer
Quote:
Originally Posted by nickhaigh
sorry I didn't get any of this? I didn't add a # at the end!!

I think this was before I added the update of what I did,
all i need to do now is put the sub category & gallerries on the
same line, also remove the text & borders!
Are you asking for help or can you just put it back the way you had it?
__________________
--John
Homepage Popular
JFriend's javascript customizations Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Jul-17-2009, 12:51 PM
#26
nickhaigh is offline nickhaigh OP
Major grins
Quote:
Originally Posted by jfriend
Are you asking for help or can you just put it back the way you had it?
yes I still need help to put the sub category & galleries back on the same line
and remove the text & borders

unless i'm just putting the code I had back in??
Old Jul-17-2009, 12:56 PM
#27
nickhaigh is offline nickhaigh OP
Major grins
Quote:
Originally Posted by nickhaigh
yes I still need help to put the sub category & galleries back on the same line
and remove the text & borders

unless i'm just putting the code I had back in??
I've added the code I had back into CSS & Bottom JavaScript
it's not perfect but much better than before.
They seem to be more of an equal size now

so I have no idea what the problem was.
Old Jul-17-2009, 02:24 PM
#28
jfriend is offline jfriend
Scripting dude-volunteer
Quote:
Originally Posted by nickhaigh
I've added the code I had back into CSS & Bottom JavaScript
it's not perfect but much better than before.
They seem to be more of an equal size now

so I have no idea what the problem was.
Look at the parameters random and randomStart in the slideshow documentation: http://wiki.smugmug.net/display/SmugMug/Flash+Slideshow
__________________
--John
Homepage Popular
JFriend's javascript customizations Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Jul-17-2009, 02:52 PM
#29
jfriend is offline jfriend
Scripting dude-volunteer
Quote:
Originally Posted by nickhaigh
They seem to be more of an equal size now

so I have no idea what the problem was.
When you switched them to rectangular, they went from 150x150 to 100x150. That just looks better with 100x100. There wasn't really a "problem" per se in that you or Smugmug were doing anything wrong - that's just the way it is.

The overall issue is that gallery thumbs get bigger when there are fewer of them (5 or less). Category thumbs do not. So, when you combined them, they didn't match. If you added more galleries (got it up to at least 6), they would shrink down in size and would match the category thumb.
__________________
--John
Homepage Popular
JFriend's javascript customizations Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Jul-17-2009, 03:13 PM
#30
nickhaigh is offline nickhaigh OP
Major grins
Quote:
Originally Posted by jfriend
Look at the parameters random and randomStart in the slideshow documentation: http://wiki.smugmug.net/display/SmugMug/Flash+Slideshow
Thanks very much for your help John, i've sorted the slideshow

I get what you mean about the thumbs , thanks again
Page 2  of  2
1 2
Tell The World!  

Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump