4 thumbs wide?

markmac

Joined: 2009-10-14
Posts: 89
Posted: Thu, 2009-12-17 03:06

Can anyone post some instructions on how to expand the number of thumbnails shown on each page from the default 3 columns wide, to more? I would like to fit more thumbs on each page, but dont necessarily want the page getting any longer.

Thanks in advance!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-12-17 04:31

Use smaller thumbs, remove blocks form the sidebar, or change the with of the theme you are using.
If you are using the wind theme it has a fixed width.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
markmac

Joined: 2009-10-14
Posts: 89
Posted: Fri, 2009-12-18 01:29

I have no blocks in the sidebar at all. I have no idea how to change the width of the theme I am using. I am using the gallery default theme on gallery3, and I do not see anywhere in the settings I can change the width.

I can not use smaller thumbs, as I am getting complaints as it is that it is hard to see them. That and so far I have over 26,000 images in the gallery, and rebuilding thumbs would take days.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2009-12-18 04:13

change:
themes/wind/views/page.html.php

    <div id="doc4" class="yui-t5 gView">

to:

    <div id="doc3" class="yui-t5 gView">

That will give you 100% page width.
Read up on grids:
http://developer.yahoo.com/yui/examples/grids/grids-doc.html for other widths.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mamouneyya

Joined: 2009-11-02
Posts: 337
Posted: Fri, 2009-12-18 09:13
floridave wrote:
change:
themes/wind/views/page.html.php

    <div id="doc4" class="yui-t5 gView">

to ...

If he was using the latest development release, then the class will be 'g-View' instead of 'gView'.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2009-12-18 14:36

mamouneyya,
good catch. I really need to get a new keyboard. This one has way too much typos. :-)

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
markmac

Joined: 2009-10-14
Posts: 89
Posted: Fri, 2009-12-18 23:03

That somewhat changed the problem.... The page now shows up 100% width, but all the thumbs are still the same width... 3 columns of thumbs, and they are all left justified.

Thanks for all the help!!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-12-19 01:31

Now you need to edit the css for the container:
find in /css/screen.css

#g-content {
  padding-left: 20px;
  position: relative;
  width: 696px;
}

and adjust the width to say 100% or remove it and test.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
markmac

Joined: 2009-10-14
Posts: 89
Posted: Sat, 2009-12-19 02:05

Thats the ticket! Thanks floridave! Happy Holidays.