[HACK] Sort pictures by layout [HACK] Sort pictures by layout
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[HACK] Sort pictures by layout

Started by CobRaz, November 12, 2003, 05:15:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CobRaz

Ok, I just installed 1.2.0 and it's working great. But when I go to albums, the "sort pictures by" cell looks pretty messed up. Can I fix this somehow, or what should I do? Here's my gallery:
http://www.mobiiliplaza.com/modules.php?name=coppermine&file=thumbnails&album=1

DJMaze

it's looking great, although your english.php isn't correct.

Only default theme and english are supported.
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

CobRaz

So that cell is meant to be that high? Hmm... well, how can I then remove sort by file name and rating? Because I think, that those aren't so important and the cell will be lower after removing those.

ttn

Right, height of the caption is fatter, does not look as nice as in previous 1.1. I prefer thin & skinny caption :-)

You can edit file themes/default/thumb_view_title_row.html and remove some sort options that you don't need but it won't help much.
I found that file style.css also in themes/default/ directory missing a style called h2 that caption referred to, so I added back style h2 from version 1.1D as a workaround, ie. add these lines at the beginning of your style sheet style.css :

h2 {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 18px;
        margin: 0px;
}

Hope it helps.
ThichTN

CobRaz

Ok, it looks now much better. I added h2 to style sheets and edited thumb_view_title_row.html. Thanks ttn.