Re: [GENERAL] How to display stored image on web page?

Поиск
Список
Период
Сортировка
От Gilles Darold
Тема Re: [GENERAL] How to display stored image on web page?
Дата
Msg-id 369F03F0.65F1A4DD@neptune.fr
обсуждение исходный текст
Ответ на How to display stored image on web page?  (Bernie <bfb@att.net>)
Список pgsql-general
Hi,

You just have to use the read() function directly into your image field.
I think
there is an example into the documentation, perhaps the programmers
guide ?
If not I can send you a perl script which is doing this kind of stuff!

Regards,

Bernie wrote:

> Now that I've stored several jpg's in my
> database as large objects, I'm trying to
> display them on a web page using a java servlet.
> Im my servlet, I've changed the content type
> to image/jpeg - response.setContentType("image/jpg");
> When the web page is loaded, all I see is the ID
> number of the image.  How do you display the
> stored image on the web page?  An example in ANY
> language would be appreciated.
>
> -Thanks




В списке pgsql-general по дате отправления:

Предыдущее
От: Tim Williams
Дата:
Сообщение: Re: [GENERAL] Graphics Supported?
Следующее
От: Oleg Broytmann
Дата:
Сообщение: Re: [GENERAL] How to display stored image on web page?