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
[solved] random image plugin shows only the name of the image
-
firfelin
[solved] random image plugin shows only the name of the image
Last edited by firfelin on Sun Jun 10, 2007 10:46 am, edited 1 time in total.
Re: random image plugin shows only the name of the image
Don't know if this hurts but it shows up as an error....
[/color]
missing the red >...
[/color]
missing the red >...
-
firfelin
Re: random image plugin shows only the name of the image
thanks, but unfortunately it doesn't change anything 
-
firfelin
Re: random image plugin shows only the name of the image
solved...
after hours of @¿‘‘!©†† I noticed that a / was needed at the end of the path...
{random_image folder="uploads/images/mg_entetes/"}
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
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
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!
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!
-
alby
Re: [solved] random image plugin shows only the name of the image
Check your sintax: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)"
{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


