I don't use image magick, but rather the netpbm utils.
But Andy's point holds for both.
Upload the image first, store it, then modify it. If you don't want to use it, you can delete it.
I tried doing everything on upload, but to do that, you need to copy the upload buffer to a holding buffer, since if you operate on the uploaded buffer, you lose the original file when you turn it into a thumbnail. On the other hand, you can redirect the output through the netpbm filters, so you maintain your original in the buffer, and the thumbnail in the new buffer.
Again, I don't use image magick... never could get it to install properly on any of my systems, so I can't answer specific questions on that. But if you need help with the upload stuff I can help with that.
My logo program uploads and thumbnails, but I think it was set to trash the original upload since all it wanted was a logo that fit in the assigned space.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
But Andy's point holds for both.
Upload the image first, store it, then modify it. If you don't want to use it, you can delete it.
I tried doing everything on upload, but to do that, you need to copy the upload buffer to a holding buffer, since if you operate on the uploaded buffer, you lose the original file when you turn it into a thumbnail. On the other hand, you can redirect the output through the netpbm filters, so you maintain your original in the buffer, and the thumbnail in the new buffer.
Again, I don't use image magick... never could get it to install properly on any of my systems, so I can't answer specific questions on that. But if you need help with the upload stuff I can help with that.
My logo program uploads and thumbnails, but I think it was set to trash the original upload since all it wanted was a logo that fit in the assigned space.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.