Posted by cbmeeks on 06/18/07 19:10
I will check that link out..thanks
> How exactly are you reading/sending the image out? The way you're
> doing it can certainly have an effect on performance.
Something like:
header ("Content-Type: image/jpeg");
if( $is_thumb == 1 )
readfile ($photo->file_path . $thumbprefix . $photo->file_name);
else
readfile ($photo->file_path . $photo->file_name);
exit ();
Navigation:
[Reply to this message]
|