Skip site navigation (1) Skip section navigation (2)

Re: php, postgresql and graphical images

From: Dave Page <dpage(at)postgresql(dot)org>
To: Mihail Mihailov <Mihail(dot)Mihailov(at)uta(dot)fi>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: php, postgresql and graphical images
Date: 2007-06-13 20:39:55
Message-ID: 4670561B.8020301@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-php
Mihail Mihailov wrote:
> Hi Dave and thanks for advice.
> 
> You show in your example how to create an html file containing only one
> picture.
> How do you insert multiple graphical images into a "mixed" document
> containing text and graphical images?
> Do I still have to save bytea data into a temporary file (how?) and than
> get in with <img> tag?

No, I showed how to return an image in response to a http request using
php, e.g:
http://www.jo-jos-jewellery.co.uk/system/showimage.php?id=85495. No HTML
or text was served at al. That URL (or variations thereof) can be used
directly in an <img> tag as many times as you want in a single HTML
document.

Regards, Dave.


In response to

Responses

pgsql-php by date

Next:From: Colin RossDate: 2007-06-13 20:58:22
Subject: Re: php, postgresql and graphical images
Previous:From: Mihail MihailovDate: 2007-06-13 20:06:11
Subject: Re: php, postgresql and graphical images

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group