manu wrote:ImageUpload is executed after save button pressed, say the modified images are uploaded onto the image directory.
Very nice! Some suggestions:
What I would like is better feedback for the user. When the internet connection is slow, after pressing the save button there doesn't seem to happen anything if modified images have to be uploaded. At least some indication that there's something happening would be good; if only making the <body> partially transparent.
If the image upload fails, it would be nice if the user could see the error message right away (instead of having to look into the log file). Otherwise they might think that everything worked fine, switch to view mode, and all the modifications are gone without further notice. At least marking the editor as not dirty should better not be done, if the upload failed.
What I also would like is that the images are (optionally?) stored as JPEG to save bandwidth later. Ideally the images would be transferred in the final storage format, but I understand that this would require to implement JPEG compression in the browser. It might still be useful to recompress the images after upload.