4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: samacsahara on September 22, 2007, 12:21:07 AM
-
This is how may index page look and so the calories pages
<IMG src="http://206.221.180.50/~ibvn/baodoanket/templates/default/images/ScreenHunter1.jpg" width="913" height="885" border="0">
please help me make it look laik that, all i want is th 10 % off the image discription show on it, rather that the 100% discription shoe up on the thumpnail space
<IMG src="http://206.221.180.50/~ibvn/baodoanket/templates/default/images/ScreenHunter2.jpg" width="913" height="885" border="0">
-
Welcome to 4homepages forum.
What is code you use for this ?
Please post code by use: [ code ] to [ /code ] (no space). I look. ;)
-
This code:
edit index.php
Find:
Code:
$num_new_images = $config['image_cells'];
and replace by:
Code:
$num_new_images = 5 ;
$config['image_cells'] = 1 ;
So it shows the last 5 new images in 5 rows of one image.
Open templates/your_template/thumbnail_bit.html
Replace the existing code by this one:
Code:
<!-- you wish detail page in a small javascript open window, use {thumbnail_openwindow} -->
<table border="0" cellpadding="3" cellspacing="0">
<tr>
<td>
<img src="./templates/default/images/go.gif" /> <a href="{cat_url}">{cat_name}</a>
</td>
</tr>
<tr>
<td colspan="2" width="100%">
<a href="{image_url}"><b>{image_name}</b></a> {if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new}
</td>
</tr>
<tr>
<td valign="top">
{thumbnail}
</td>
<td valign="top">
{image_description}
</td>
</tr>
</table>