Page 1 of 1
[solved] random image plugin shows only the name of the image
Posted: Sun Jun 10, 2007 1:28 am
by firfelin
I am trying to put a random image in a header;
But when I use the tag {random_image folder="uploads/images/myfolder"}, all I get is the name of the image...:
http://www.magdalenagerber.ch/mg/index.php?page=Traces-de-recreation
What can I do to solve this?
Thanks for you help
Re: random image plugin shows only the name of the image
Posted: Sun Jun 10, 2007 6:40 am
by Dr.CSS
Don't know if this hurts but it shows up as an error....
[/color]
missing the red >...
Re: random image plugin shows only the name of the image
Posted: Sun Jun 10, 2007 10:02 am
by firfelin
thanks, but unfortunately it doesn't change anything

Re: random image plugin shows only the name of the image
Posted: Sun Jun 10, 2007 10:44 am
by firfelin
solved...
after hours of @¿‘‘!©†† I noticed that a / was needed at the end of the path...
{random_image folder="uploads/images/mg_entetes/"}
Re: [solved] random image plugin shows only the name of the image
Posted: Sun Jun 10, 2007 5:04 pm
by Dr.CSS
Oh yea I missed that, it opens the folder so it can see the images... duh on me

Re: [solved] random image plugin shows only the name of the image
Posted: Wed Aug 22, 2007 4:03 pm
by yorgi63
Hey running into this error does nayone have any ideas
tring(150) "Smarty error: [in template:16 line 75]: syntax error: unrecognized tag: multiple_random_image="uploads/images1/" (Smarty_Compiler.class.php, line 446)" string(111) "Smarty error: [in template:16 line 75]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"
Thanks!
Re: [solved] random image plugin shows only the name of the image
Posted: Wed Aug 22, 2007 8:40 pm
by alby
yorgi63 wrote:
tring(150) "Smarty error: [in template:16 line 75]: syntax error: unrecognized tag: multiple_random_image="uploads/images1/" (Smarty_Compiler.class.php, line 446)" string(111) "Smarty error: [in template:16 line 75]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"
Check your sintax:
{multiple_random_image folder="uploads/images1/"}
default folder is
uploads/images/
In 1.5 version, add debug=1 for folder debugging (check your html source for a comment)
Alby