Path to images in templates

From: Date: Thu, 13 Mar 2003 18:55:29 +0000
Subject: Path to images in templates
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8626@lists.php.net to get a copy of this message
I have the following file structure: myapp myapp/templates myapp/templates/images I edit my templates with Dreamweaver which are in the templates dir , and insert images from de images dir. I can see images in DW, but when the templates are parsed by the php files in the myapp dir, the images are no longer visible because the generated HTML expects to find them in an non existent /myapp/images dir. If I do the other way, and put the img tag pointing to templates/images in DW, I see the images in the browser but not in DW. Is there any way I can see the images in both cases? TIA

« previous php.smarty.general (#8626) next »