Re: [PHP] Serving an image

2012-10-17 Thread Wouter van Vliet / Interpotential
> > What is the diference between using imagecreatefrompng() and readfile()? > Any performance improvement? > > If you don't do any image minipulation, I would recommend readfile indeed. The differences being that imagecreatefrompng load the image into memory, ready to change it (overlay, rotate, c

Re: [PHP] Serving an image

2012-10-16 Thread Alan Hoffmeister
2012/10/15 viper : > On Mon, Oct 15, 2012 at 5:48 PM, Rick Dwyer wrote: >> I am sending an email with a logo at the top of the email. The source of >> the image for the logo is: >> >> http://myurl.com/image.php?id=5 >> >> Image.php then calls a function that simply returns the following: >> >> >

Re: [PHP] Serving an image

2012-10-16 Thread ma...@behnke.biz
viper hat am 16. Oktober 2012 um 08:54 geschrieben: > On Tue, Oct 16, 2012 at 7:40 AM, Jan Ehrhardt wrote: > > Many receiving e-mail clients will not show external images. External > > images are used by spammers to trach if a message is read. > > true; > > you could embed images in email.. > h

Re: [PHP] Serving an image

2012-10-15 Thread viper
On Tue, Oct 16, 2012 at 7:40 AM, Jan Ehrhardt wrote: > Many receiving e-mail clients will not show external images. External > images are used by spammers to trach if a message is read. true; you could embed images in email.. http://www.campaignmonitor.com/blog/post/1761/embedding-images-in-emai

Re: [PHP] Serving an image

2012-10-15 Thread Jan Ehrhardt
viper in php.general (Mon, 15 Oct 2012 17:58:06 +0200): >then in your email you can put: >http://myurl.com/image.php?id=5"; /> Many receiving e-mail clients will not show external images. External images are used by spammers to trach if a message is read. Jan -- PHP General Mailing List (http:/

Re: [PHP] Serving an image

2012-10-15 Thread viper
On Mon, Oct 15, 2012 at 5:48 PM, Rick Dwyer wrote: > I am sending an email with a logo at the top of the email. The source of the > image for the logo is: > > http://myurl.com/image.php?id=5 > > Image.php then calls a function that simply returns the following: > > > > $image='http://myurl.com/i

[PHP] Serving an image

2012-10-15 Thread Rick Dwyer
Hello all. I am sending an email with a logo at the top of the email. The source of the image for the logo is: http://myurl.com/image.php?id=5 Image.php then calls a function that simply returns the following: $image='http://myurl.com/images/logo.jpg"; />'; return $image; Calling the pag