Re: GD Questions: Please help.
| From: | Richard Baskett | Date: | Thu, 13 Jun 2002 20:39:58 +0000 |
| Subject: | Re: GD Questions: Please help. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102053@lists.php.net to get a copy of this message | ||
Thank you, thank you, thank you, thank you! I never could figure it out, so
I just had them save the files and they were recreated each time over the
old ones.. Thank you thank you thank you!
Rick
Don't dismiss a good idea simply because you don't like the source. -
Unknown
> From: "Kevin Stone" <kevin@helpelf.com>
> Date: Thu, 13 Jun 2002 14:33:52 -0600
> To: <php-general@lists.php.net>
> Subject: Re: [PHP] GD Questions: Please help.
>
> Shane, absolutely you can mix HTML and dynamically generated images. You'll
> actually call the image in passively via an <img> tag like this...
>
> <img src="getimage.php">
>
> getimage.php will echo the appropriate image header (Content-type: image/png
> or whatever) plus your image grabbing/generating code which you will simply
> output to the browser. Deceptively easy, yes? :)
>
> Hope this helps.
> -Kevin
>
>
> ----- Original Message -----
> From: "Shane" <shane@delaplaine.com>
> To: <php-general@lists.php.net>
> Sent: Thursday, June 13, 2002 2:21 PM
> Subject: [PHP] GD Questions: Please help.
>
>
>> Greetings fellow PHPers.
>>
>> I am learning basic GD functionality and I have a few YES/NO questions to
> ask.
>> This should only take a few seconds of your time. PLEASE HELP!
>>
>> So far I have seen several tutorials on creating graphics on the fly.
>> In each example the either send the image (by itself) to a browser (using
> the HEADER line) or they save it to a directory.
>>
>> Can I send an image to a browser along with other HTML and PHP
> information, or does my image have to be on it's own.
>>
>> If I want to send my image to a browser with other HTML do I have to save
> it to a file first?
>>
>> Does my directory that I am writing to have to have "write permission" set
> to TRUE for me to create an image file? and if it is NOT, will I get an
> error something like...
>> Warning: imagejpeg: unable to open '/images/test.jpg' for writing!
>>
>> Can anyone show me a chunk of sample code or function that shows how I can
> embed my images created on the fly into my normal HTML files.
>>
>> As always, thanks in advance my friends.
>>
>> - NorthBayShane
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>