I've found bytea works better for me than large objects.

As far as how to retrieve and display, that depends.  What scripting
language are you using?

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of C G
> Sent: Monday, April 05, 2004 12:20 PM
> To: [EMAIL PROTECTED]
> Subject: [GENERAL] Storing jpgs
>
>
> Dear All,
>
> What's the best way to store jpgs in postgresql to use in a web page?
>
> I tried to use large objects, but how would you extract them from
> a table to
> be viewed in a web-page without having to write them to a scratch file
> somewhere first?
>
> Thanks
>
> Colin
>
> _________________________________________________________________
> Stay in touch with absent friends - get MSN Messenger
> http://www.msn.co.uk/messenger
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
>
>



---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to