Re: Re: Imagemagick Displaying Images
| From: | Richard Lynch | Date: | Fri, 05 May 2006 00:41:06 +0000 |
| Subject: | Re: Re: Imagemagick Displaying Images | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235586@lists.php.net to get a copy of this message | ||
On Thu, May 4, 2006 10:26 am, Al wrote:
> Richard Lynch wrote:
>>> Ray Hauge wrote:
>>>> convert -resize 800x600 AR-M455N_20060420_130446.pdf[0] -
>>>>
>>>> The '-' makes it display the contents of the image to stdout. I
>>>> want to
>>>> caputre that binary data and somehow display the images inline
>>>> with
>>>> the
>>>> website. Is this possible, or am I living in a dream world ;)
>>
>> http://php.net/ob_start
>>
>
> That's obvious. It's necessary but not sufficient. Notice Richard
> said "display the images inline".
[NB: Ray said that...]
> It's easy if the image is all that is on the page.
Errrr. HTML and in-line images don't really work in a cross-browser
compatible sort of way, and really mess with browser caching and page
load times and are just such a Bad Idea that I didn't even consider
that Ray might have meant "image inlined with HTML"
I really (still) think Ray just meant:
Cache and display the image in one operation without using a tempfile.
Now that I think about it, you'd still want ob_start() if you want to
cache and display the image inlined with HTML anyway, assuming you
wanted to do something so foolish in the first place...
--
Like Music?
http://l-i-e.com/artists.htm