4images Forum & Community
4images Modifications / Modifikationen => Templates & Styles (Requests & Discussions) => Topic started by: rbfabbri on March 29, 2008, 02:13:03 AM
-
Hi,
I have thumbs of different sizes in my gallery (width x height) , how i centralize them in the cells? In the vertical.
Thanks!!!!
-
Hi,
in templates/default/thumbnail_bit.html:
<center>
{thumbnail}<br />
<b>{image_name}</b> {if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new} ({user_name_link})
<br />
<a href="{cat_url}">{cat_name}</a><br />
{if allow_comments}{lang_comments} {image_comments}{endif allow_comments}<br />
{lightbox_button}
</center>
Kurt
-
Kurt, this only centralize in the horizontal.
I would not like that they shows in the top but in the middle of the cell.
Thanks!!!
-
ups... sorry
in categories.php, lightbox.php, search.php
search:
$thumbnails .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n";
replace with:
$thumbnails .= "<td width=\"".$imgtable_width."\" valign=\"middle\">\n";
in index.php
search:
$new_images .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n";
replace with:
$new_images .= "<td width=\"".$imgtable_width."\" valign=\"middle\">\n";
KurtW
-
Great KurtW!
Works perfectly!
Thanks!!!!