Image resizing is now working.

The size of output images can be set by the user.
A popup feature has been added in order to set the parameters.