on 1/19/01 12:09 PM, "Randall G. Alley" <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> I want to serve images dynamically from a database, and think I know how to
> get
> them into my Turbine app,
> but then my knowledge breaks down.
>
> What is the recommended method to have the Velocity template insert the image
> directly from the Context object ?
> I know how to do it from a file on the disk.
>
> The archives were unhelpful unfortunately.
Before you go down this path...let me just tell you...DO NOT DO IT. It is
pointless to store images in a database when you have a file system that
works perfectly for this job.
The right way to do this is to store the images on disk and in the database
put a relative path to the image on disk. You can then use that information
as needed.
Also, just to clarify, you are probably confused about how images are placed
into web pages. They are a separate connection to the server.
-jon
--
Honk if you love peace and quiet.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]