Use regex to find the images in the stream, then download them locally, and resize them with imagecopyresize(). Finally, parse and rewrite the stream to point to your local files.
You're not going to be able to do it otherwise, unless you wrap the whole page, and rewrite your img src, using javascript or css to resize at will.
|