PDA

View Full Version : Pekka help filename moving in table


malum
25th of August 2005 (Thu), 04:04
I would like the filename displayed under the thumbnail on the thumbnail pages instead of above and if possible I would like it right up against the thumbnail instead of the space that is there at the moment

any help appreciated, thanks


BTW I posted this once and it said it had done it but it never appeared

malum
30th of August 2005 (Tue), 09:49
bump

malum
1st of September 2005 (Thu), 09:12
Well needs must and I figured most of it out myself (which takes a while if you are a php novice such as myself)

This is what I did:

In outputstyles/x_per_row.php


The line that prints the header is this one:

Line 74 ish

print "<p style=\"color:#" . $s_outputfont_color . ";\"><b>" . $photoname . "</b><br>";


move down to under line 158ish
print $goodlink;

to move header under thumbnail

then move
print "</a>"; (few lines further down) up above
print $goodlink;

to stop the header becoming part of the link


To then make the header appear right under the thumbnail and have a gap under that:


remove <p> tag and add these <br> tags to put header right under thumb and put a space under the header, should look like this

print $goodlink;
print "</a>";
print "<br>";
print "<b>" . $photoname . "</b><br>";
print "<br>";


Then make <table width="99%" in line 11 or it goes off the page