Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

caching images and files

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
leanweb
Smarty Rookie


Joined: 27 Oct 2004
Posts: 24
Location: Newark, DE

PostPosted: Fri Oct 29, 2004 9:38 pm    Post subject: caching images and files Reply with quote

this is probably a rather common scenario, but mu search in this forum didnt come up with anything so i apologize if this is covered elsewhere.

my htdoc directory is

Code:
/home/site/www/*

(where site is the name of site)

smarty and site smarty templates are on the same level as www, i.e.:

Code:
/home/site/smarty/*
/home/site/templates/*

images (lets narrow this question to just images) are in the images subdirectory of the templates directory:

Code:
/home/site/templates/images/*

which means that they can be simply referred to as

Code:
<img src="images/image.gif"/>

simple and nice, right?

now, of course after templates have been processed by smarty, images will no longer be pointing at actual location of images.

ideally what i'd like to happen is move all images to smarty cache and adjust src attributes to point to their new cached location. is this possible?

thank you!
leanweb
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP