Reply to Re: [PHP] Resizing thumbnails to the browser

Your name:

Reply:


Posted by Dan Trainor on 08/23/05 01:01

Jasper Bryant-Greene wrote:
> Dan Trainor wrote:
>
>> Would the abovementioned use of ForceType also allow one to produce an
>> image given an HTTP GET query? I was tinkering around with something in
>> the past where I wanted to implement something such as:
>>
>> <img src="http://example.com/myscript.php?site=1&image=2&something=3">
>>
>> Would what you suggest force the server to return an image for that
>> given URL, so that the img src specification listed above will work?
>>
>
> From myscript.php in the above example, just return a Content-Type
> header and output the image data. Example:
>
> header('Content-Type: image/jpeg');
> imagejpeg($my_gd_image);
>
> Jasper
>
Hello, Jasper -

Very nice bit of information there.

Thanks.
-dant

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация