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

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

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

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Page 2  of  2
1 2
Old Jul-17-2009, 11:19 AM
#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 11:34 AM.
Old Jul-17-2009, 11:25 AM
#22
jfriend is online now 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
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Jul-17-2009, 11:41 AM
#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, 11:48 AM
#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, 11:49 AM
#25
jfriend is online now 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
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Jul-17-2009, 11:51 AM
#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, 11:56 AM
#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, 01:24 PM
#28
jfriend is online now 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
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Jul-17-2009, 01:52 PM
#29
jfriend is online now 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
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Old Jul-17-2009, 02: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