RE: [PHP] PHP Image Functions

2002-07-09 Thread Mark Colvin

That's the winner!! Everything working good now. Thanks again.




This e-mail is intended for the recipient only and
may contain confidential information. If you are
not the intended recipient then you should reply
to the sender and take no further ation based
upon the content of the message.
Internet e-mails are not necessarily secure and
CCM Limited does not accept any responsibility
for changes made to this message. 
Although checks have been made to ensure this
message and any attchments are free from viruses
the recipient should ensure that this is the case.


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




RE: [PHP] PHP Image Functions

2002-07-09 Thread joakim . andersson

imagejpeg($thumbnail,'test.jpg',$quality);
should of course be
imagejpeg($thumbnail,'',$quality);

Otherwise you are creating a new image on your server and not outputting it
to the browser.

/Joakim

> -Original Message-
> From: Mark Colvin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 09, 2002 12:30 PM
> To: [EMAIL PROTECTED]
> Cc: Php (E-mail)
> Subject: RE: [PHP] PHP Image Functions
> 
> 
> Thanks for your reply. Its a bit further forward but still 
> not working. I
> have split the files and the output now shows the text part of 'img
> alt="text" src="...' ie it won't recognise the image. 
> Anything else you can
> think of?
> 
> 
> 
> 
> This e-mail is intended for the recipient only and
> may contain confidential information. If you are
> not the intended recipient then you should reply
> to the sender and take no further ation based
> upon the content of the message.
> Internet e-mails are not necessarily secure and
> CCM Limited does not accept any responsibility
> for changes made to this message. 
> Although checks have been made to ensure this
> message and any attchments are free from viruses
> the recipient should ensure that this is the case.
> 
> 

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




RE: [PHP] PHP Image Functions

2002-07-09 Thread Mark Colvin

Thanks for your reply. Its a bit further forward but still not working. I
have split the files and the output now shows the text part of 'img
alt="text" src="...' ie it won't recognise the image. Anything else you can
think of?




This e-mail is intended for the recipient only and
may contain confidential information. If you are
not the intended recipient then you should reply
to the sender and take no further ation based
upon the content of the message.
Internet e-mails are not necessarily secure and
CCM Limited does not accept any responsibility
for changes made to this message. 
Although checks have been made to ensure this
message and any attchments are free from viruses
the recipient should ensure that this is the case.


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




RE: [PHP] PHP Image Functions

2002-07-09 Thread joakim . andersson

Well, you're halfway there...
You just have to separate the image-script from the rest like this:

image_spewing_script.php:


and in the other file (your actual page):

  

  

Regards
Joakim Andersson



> -Original Message-
> From: Mark Colvin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 09, 2002 11:27 AM
> To: Php (E-mail)
> Subject: [PHP] PHP Image Functions
> 
> 
> I have a directory of jpegs that I want to display thumbnails 
> of and have a
> link to the original jpeg. I would rather not create separate 
> thumbnails
> images preferring to create them in memory to display them. I 
> have installed
> GD v.1.8.4. The code below outputs jumbled text to the 
> browser (possibly the
> jpeg stream?). Code is as follows:
> 
> Why will this not work?
> 
> 
> 
> This e-mail is intended for the recipient only and
> may contain confidential information. If you are
> not the intended recipient then you should reply
> to the sender and take no further ation based
> upon the content of the message.
> Internet e-mails are not necessarily secure and
> CCM Limited does not accept any responsibility
> for changes made to this message. 
> Although checks have been made to ensure this
> message and any attchments are free from viruses
> the recipient should ensure that this is the case.
> 
> 
> -- 
> 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




[PHP] PHP Image Functions

2002-07-09 Thread Mark Colvin

I have a directory of jpegs that I want to display thumbnails of and have a
link to the original jpeg. I would rather not create separate thumbnails
images preferring to create them in memory to display them. I have installed
GD v.1.8.4. The code below outputs jumbled text to the browser (possibly the
jpeg stream?). Code is as follows:

  

  



Why will this not work?



This e-mail is intended for the recipient only and
may contain confidential information. If you are
not the intended recipient then you should reply
to the sender and take no further ation based
upon the content of the message.
Internet e-mails are not necessarily secure and
CCM Limited does not accept any responsibility
for changes made to this message. 
Although checks have been made to ensure this
message and any attchments are free from viruses
the recipient should ensure that this is the case.


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