4images Help / Hilfe > FAQ, Tips
How can I show more new images on home page?
mawenzi:
@ HaveFun,
... but i mean delete all table-code around the {new_images}-Tag ...
... example for default template ...
--- Code: ---<table width="450" border="0" cellspacing="0" cellpadding="0">
<tr><td class="head1">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr><td class="head1" valign="top">{lang_new_images}</td>
</tr></table>
</td></tr>
<tr><td class="head1">{new_images}</td>
</tr></table>
--- End code ---
mawenzi
HaveFun:
great, mawenzi! Works perfectly :lol:
kajkool:
thanx my problem has been solved :)
lorddean:
--- Quote from: V@no on July 20, 2005, 02:59:41 AM ---If you would like to show more new images on your 4images homepage, you will need:
Open index.php
Find:
--- Code: ---$num_new_images = $config['image_cells'];
--- End code ---
Replace it with:
--- Code: ---$num_new_images = XX;
--- End code ---
Where XX is the number of images.
--- End quote ---
What do I do, if this don't work? If I set XX to 3 it shows 3 new pictures on the front, but if I set the number above 4 it only shows 4 pictures. How do I get it to add an extra row with more pictures?
V@no:
below that line insert:
--- Code: ---$config['image_cells'] = XX;
--- End code ---
Where XX is the number of images per row.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version