I'm interested if there is a solution to this problem.
I'm writing my own little iPhoto to Web application.
When you view the thumbnails you can double click on them to get a medium size view of the photo.
I was intending to have the Double Click do the Following.....
Double click thumbnail --> Reveal DIV for the photo -> Invoke AJAX call to the PHP resizing script. --> the script returns the URL to the resized image --> update DIV with this information.
This however will leave files on the hard drive.
My question is there any way to have the AJAX call return the image data directly and not just a path to the resized file? I know that PHP can output an image directly to a browser and I'm thinking about how to incorporate this with AJAX.
Thanks