RE: [SMARTY] How I do this
| From: | Reynier Perez Mira | Date: | Mon, 13 Jun 2005 18:21:17 +0000 |
| Subject: | RE: [SMARTY] How I do this | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12684@lists.php.net to get a copy of this message | ||
Well I probe with one image put in the directory includes and all works fine. See the code below:
CODE: <img src="../includes/edog_bg.jpg">
exists antoher cause of this mistake??
Regards
Reynier Pérez Mira
3er. año Ing. Informática
-----Mensaje original-----
De: Chris Ramsay [mailto:raz.net@gmail.com]
Enviado el: Monday, June 13, 2005 11:15 AM
Para: Reynier Perez Mira
CC: smarty-general@lists.php.net
Asunto: Re: [SMARTY] How I do this
Indeed, just tried this myself with test page (i ran the code from
your gen-codigo.php, so that works!):
<html>
<head>
<title>Test codigo</title>
</head>
<body>
<img src="codigo.php">
</body>
</html>
And it worked - are you sure of the path
"../includes/gen-codigo.php" in your code relative to your script - is
that definitely correct? You could try a static image in your <img>
tag to be sure...
Chris