Re: Re: Imagemagick Displaying Images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux