Limit the number of Thumbnail columns.

hminer

Joined: 2002-10-07
Posts: 1
Posted: Mon, 2002-10-07 17:58

In the process of customizing Gallery to add a nav bar on the left, I noticed that my photo thumbnails were pushed off to far to the right.

Currently, Gallery has 5 thumnails in a row (5 columns) when you go into an album.

Does anyone know where I can change this to 4 ?

I found a selection in the set-up for columns default, but changing this to 4 did nothing.

Thanks in advance for any help!

 
BorgKing
BorgKing's picture

Joined: 2002-09-12
Posts: 314
Posted: Mon, 2002-10-07 20:29

What you did in the setup was good, but it only applies to new albums you create. When you want to change this setting for your existing albums, look in the properties. You have to change this for every top level album. If you check the checkbox in the properties box, the subalbums will be changed together with the top level albums.

 
BubblyBabs
BubblyBabs's picture

Joined: 2003-03-07
Posts: 107
Posted: Tue, 2003-03-18 17:11

I am unable to edit anything in my album folder, my ftp program won't let me copy over to my computer...

Also, is the area to edit the number of columns in your nested albums in the file view_album.php? I found this:

$navigator["page"] = $page;
$navigator["pageVar"] = "page";
$navigator["maxPages"] = $maxPages;
$navigator["fullWidth"] = $fullWidth;
$navigator["url"] = makeAlbumUrl($gallery->session->albumName);
$navigator["spread"] = 5;
$navigator["bordercolor"] = $bordercolor;

If I change the 5 to a 4, will that limit my new album columns to 4 and not 5?

How do I go about editing my current albums if I can't FTP to my computer? Is there no way?

Thanks very much,
Babs

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Wed, 2003-03-19 12:06

Babs,

What ftp program are you using? Or have you solved the problem on your own?

Gaile

 
BubblyBabs
BubblyBabs's picture

Joined: 2003-03-07
Posts: 107
Posted: Wed, 2003-03-19 16:10

Hi PixelPoet,

I'm using SmartFTP... I had tried WSftp but every time I used it the program would shut off my DSL.... They couldn't help me fix the problem so I tried SmartFTP and all works fine... I have not solved my problem, I can view the files, I can't download to my computer...

I've also discoved I can't delete hidden files... I had a copy of gallery in another folder and decided to move it, now I have my album folder sitting there because I can't delete it...

There's got to be a way, I just can't find it!

Babs

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Wed, 2003-03-19 20:50

Hi Babs

I don't understand why you can't perform an ordinary file transfer between your host and your computer - that doesn't make sense.

Here's SmartFTP's Tutorial site -- http://www.smartftp.com/support/howto/

Maybe look through there for some ideas. Try asking tech support where you host your site, or read thru their help files.

I think to remove that leftover album you would have had to run bharat's clean up script before deleting or moving the files (it restores the permissions so that you can move and delete things). You may need to ask your host to delete that fle for you.

Gaile