Random Picture block just displays text

Jezmond

Joined: 2003-05-28
Posts: 2
Posted: Tue, 2003-11-18 20:30

I've got the random block to work, if you enter the link into Internet Explorer it all comes up fine.

I've created a block, called it "Random Photo" and entered the link. Instead of displaying the picture it just displays the actual link text.

You can see it on the right at http://www.readingbedding.net

Am I do something stupid?

 
glendo

Joined: 2002-11-29
Posts: 60
Posted: Tue, 2003-11-18 21:44

Did you copy the Random Block.php to your (gallery/pnblocks) directory, per the read me instructions? If you didyou don't need the url, when you create the block the Module is gallery, the name is gallery_random, and it should work.

 
Jezmond

Joined: 2003-05-28
Posts: 2
Posted: Tue, 2003-11-18 22:30

I used the one located here

I uploaded block-random.php into my gallery directory, modified the index.php and themesidebox as per instructions.

The final step says:

Quote:
Then create an HTML block containing the following url (change the text in red to be appropriate for your server:

http://your.server/modules.php?op=modload&name=your-gallery-name&file=index&include=block-random.php

That's where mine goes wrong :(

[/url]