ok, I have 6 thumbnails per page, i.e 3 on top & 3 below that.
now I want to place a banner between the two, what should I edit?
Please explain in detail, I'm a new user of gallery...
My banner code is
<!--#include virtual="/cgi-bin/ads/gallery/ads.cgi?[Opt1]&[Opt2]"-->
Thankyou.
Posts: 3473
assuming you don't want to re-write view_album.php (which is what you will need to do to get exactly what you want) you can get a banner every second line very easily (so you will two on a page as described above).
Open view_album.php, and go to line 609. It should be:
echo("</tr>");
Insert
echo "<tr><td colspan=$cols align=center>BANNER HERE</td>";
immediately above it, replacing the obvious.
Posts: 2
Cool it worked
The code you gave me worked fine, but when I inserted the banner code it kept giving me errors.
Then I created inline_albumthumb.banner
Then in view_album.php at line 347 inserted
but the problem is that it gives me 2 banners both at top of the row.
BTW ..there is no 609th line ( using cute html)
Thanx.
Naveen
Posts: 3473
what version of gallery are you running?