Carbon, Gallery2 MicroThumbnails Larger

1Stopdesign
1Stopdesign's picture

Joined: 2010-07-30
Posts: 5
Posted: Mon, 2010-12-06 22:53

I'm using Gallery 2.3.1 with the Carbon Theme and need to make the microThumb's larger than 40px. I'd like them 100px. I've tried to add code to the css and that didn't work. and there doesn't seem to be any options within the admin. Any ideas?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2010-12-07 03:10

gallery2/themes/your_theme/templates/navigatorMicroAlbumThumbs.tpl:
{g->image item=$peer image=$peer.thumbnail maxSize=40 title="$title"}

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
1Stopdesign
1Stopdesign's picture

Joined: 2010-07-30
Posts: 5
Posted: Tue, 2010-12-07 15:45

Thank you, now I have the issue of the microthumbs pushing off the page. How can I make the table either variable depending on the width of the page or specify it to 2 columns with two thumbnails, not four?
http://www.1stopdesign.com/clients/artsbakery/gallery.jpg

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2010-12-07 15:55

most themes allow control of such things Gallery Admin -> Themes or Edit Album -> Theme

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
1Stopdesign
1Stopdesign's picture

Joined: 2010-07-30
Posts: 5
Posted: Wed, 2010-12-08 00:03

yeah, not Carbon, Gallery 2.3.1, there are options for the main thumbnails but not the microthumbs. No options within the admin. Anyone???

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2010-12-08 00:12

So in Gallery Admin -> Themes -> Carbon "Maximum number of micro navigation thumbnails" is not what you're looking for?

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
1Stopdesign
1Stopdesign's picture

Joined: 2010-07-30
Posts: 5
Posted: Wed, 2010-12-08 16:33

No because I want to show all the microthumbs, just without having them go off the page to the right. If the main image is a horizontal image, it's pushing the microthumbs off the page. So if I limit the number of microthumbs to say "2" then I am missing the other 14 in the album that could be showing underneath those two. But if I could have two columns of microthumbs with as many rows as their are micros then I'd be all set. make sense?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2010-12-08 16:47

looking at gallery2/themes/your_theme/templates/navigatorMicroAlbumThumbs.tpl line~19 I see that if the $columnIndex == 4 then we start a new row. Change to 3 or 2 - simple.
{if ($columnIndex == 4)}

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
1Stopdesign
1Stopdesign's picture

Joined: 2010-07-30
Posts: 5
Posted: Wed, 2010-12-08 21:04

You're a rockstar!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2010-12-08 21:16

I just taught someone else how to resize the image on the page dynamically.
http://gallery.menalto.com/node/99599#comment-362178

The same technique could be used to keep your images width from pushing elements off the page.
A common problem with pure css layouts.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2