Info runs off page edge

tim_ver

Joined: 2009-06-07
Posts: 16
Posted: Sat, 2009-06-27 06:53

When I click on a gallery from the home page and I goto the next page it has:
Title:
Description:
Name:
Owner:

The items run off the white area on to the grey area on the page. How do I adjust this and edit these lines? Where are they located?

Thanks

 
Okat
Okat's picture

Joined: 2009-04-05
Posts: 78
Posted: Sat, 2009-06-27 08:34

check /themes/default/css/screen.css

But you might want to check the following url http://gallery.menalto.com/node/88511 in case you run into other sizeproblems.

the width of the sidebar is mentioned. You probably won't have enough space for the rest of the items, so you might want to make the whole visible area slightly bigger.

It happens with long filenames where the script doesn't know where to break up the name.
Personally I don't use it at all. I disabled it because it's mostly the same info as on the rest of the screen (eg. filename is already below a picture, album name is already in breadcrumb and so on)
Album info can make the sidebar ridiculously long as well.

Talking about the album info. empty lines in the album info (by pressing enter twice when typing album description) do not translate on the html page. They are, however in the database. Fixed it by

changing line 7 in album.html.php

<div class="gDescription"><?= p::clean($item->description) ?></div>
<div class="gDescription"><?= nl2br(p::clean($item->description)) ?></div>

Don't know if it's a secure fix. It seems to work.

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Tue, 2009-06-30 13:05

See this discussion - http://gallery.menalto.com/node/88326
I have created a replacement for Info module which does not use tables and therefore does not jump off the sidebar
Also, latest code uses list instead of table which would help with sizes

 
MarkRH

Joined: 2007-05-25
Posts: 241
Posted: Sat, 2009-07-18 11:20

Try Using dashes "-" in your image filenames instead of underscores "_" or wherever you want a break to occur. Mine was doing that until I renamed the files to use "-" between words instead of "_" in strategic places.

Thanks,
Mark H.

Using Gallery 2.2.6 - gallery.markheadrick.com
Using Gallery 3 Beta 2 somewhere else for testing :)