When I choose image list as an article content and I put in 10 images, with a short text underneath every image, the script creates a page with all images + text valign="bottom".
The discriptions are different in length so the page will look messy, because all the pics are aligned at the bottom. So one image is placed higher than his nextdoor brothers (if I use a 3 column image gallery).
I would like to change the php file where this valign="bottom" is set and change it into valign="top".
But do you know in which file I have to change this?
image list valign="top" instead of valign="bo
Found it already:
In the file: /include/inc_front/front.func.inc.php
Line 122
Change:
Into:
In the file: /include/inc_front/front.func.inc.php
Line 122
Change:
Code: Select all
//Aktuelle Bildspalte ausgeben
$table .= "<td align=\"center\" valign=\"bottom\"".(($class)?" class=\"".$class."\"":"")." width=\"".$imagelist[$key]["w"]."\">";
Code: Select all
//Aktuelle Bildspalte ausgeben
$table .= "<td align=\"center\" valign=\"top\"".(($class)?" class=\"".$class."\"":"")." width=\"".$imagelist[$key]["w"]."\">";
Oliver,
Maybe this change is a good one to take over into the file
/include/inc_front/front.func.inc.php
Because is there a reason to align the pictures with text underneath them on bottom? It will create a messy looking page. Align top will create better looking pages.
Or is the bottom align for another reason?
Maybe this change is a good one to take over into the file
/include/inc_front/front.func.inc.php
Because is there a reason to align the pictures with text underneath them on bottom? It will create a messy looking page. Align top will create better looking pages.
Or is the bottom align for another reason?
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact: