Fw: [SMARTY] Path to images in templates

From: Date: Fri, 14 Mar 2003 03:42:15 +0000
Subject: Fw: [SMARTY] Path to images in templates
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8635@lists.php.net to get a copy of this message
I think this subject came up a couple of months ago on the list. IIRC, the best method was to place a symbolic link in you template directory back to your image directory. i.e. ./script ./script/img ./script/templates in templates, do ln -s ../img img HTH Jason ----- Original Message ----- From: "Joscha Feth" <joscha@feth.com> To: <smarty-general@lists.php.net> Sent: Thursday, March 13, 2003 7:10 PM Subject: Re: [SMARTY] Path to images in templates > Monte Ohrt wrote: > > You could keep your image path in a config file. > > > > <img src="{#imagePath#}/foo.jpg"> > yes, but Dreamweaver messes that up, because no path {#something#}/ does > exist... > > greets, > Joscha > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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