I downloaded the random image plugin but the only thing is shows is a
text (the path to the image and the name of the image) : e.g. uploads/images/imagename.jpg instead of the image itself.
Tried it with and without defining a directory (so, only {insert_image} and {insert_image dir="imagedir"}
Could anyone please help?
Thanks
Hans
[EDIT] Although I'm a total n00b (as far as php concerned

) I managed to get the script working by replacing
around line 47
by
Code: Select all
echo "<img src=\"$dirn/$myimage\" alt=\"$myimage\" />";
I can't believe it myself, but it works!