Sanjay wrote:

> My project needs storing and retrieving document, pdf, images etc. from
> the database. Thanks to the article
> http://trac.turbogears.org/turbogears/wiki/StoringAndRetrievingFilesFromDatabase,
> which was really useful for a novice like me to comfortably store, and
> then display images.

By the way, isn't it better to store images as the files on the
filesystem? I'd store just image paths in the database and insert paths
to static images in generated html. It would allow to reduce load on
the database server, and possibly serve images with apache, reducing
load on cherrypy.

--
Oleg


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to