Fixed defaults and set an output for the image

Private var "settings" has been renamed to default (seems more
appropriate) and added a little for in into the "set" function so when the
user doesn't provide a value to a set property it will be filled wit the
default value.
A couple of hidden fields will have the image name and the image data URL.
These fields can be used to send create the image in the server and upload
it