Random block in standalone page

phgrove

Joined: 2002-10-10
Posts: 101
Posted: Tue, 2003-05-06 20:52

Is there a version of the code out there that i can include in my own index page, which doesn't use iframes or anything like that?

I have tried the current version of random_block, which does work except i get the following error message before the image.

Warning: Cannot send session cache limiter - headers already sent (output started at d:\www.petergrove.co.uk\index.php:7) in d:\www.petergrove.co.uk\gallery_old\session.php on line 51

To get it to work i had to add this line in

$GALLERY_BASEDIR="d:/www.petergrove.co.uk/gallery_old/";

What i am trying to do is have my main index page laid out as a table and a random image will be displayed in one of them.

Peter

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Wed, 2003-05-07 21:30

I checked your site and it seems to be working (??)

-Beckett (

)