> There is no clean option (button) to remove an image after uploading.
You are right!
It's easy to add the option.
Go to the imageEditor.jsp, and add a new action to reset the image,
inside the <% if (editable) { %> block.
You can add the action in ImageEditor controller of default-controllers.xml.
Have a look to the code of LoadImageAction, the code for your action is easier.
Try to do it, and ask me all your doubts.
Cheers
Javi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Javi
There is no clean option (button) to remove an image after uploading.
It is possible to change but not remove.
Workaround was there :
Give a path to a invalid (image) file and try to upload same.
The image was removed.
Thanking You
Janesh
Hi Janesh,
> There is no clean option (button) to remove an image after uploading.
You are right!
It's easy to add the option.
Go to the imageEditor.jsp, and add a new action to reset the image,
inside the <% if (editable) { %> block.
You can add the action in ImageEditor controller of default-controllers.xml.
Have a look to the code of LoadImageAction, the code for your action is easier.
Try to do it, and ask me all your doubts.
Cheers
Javi