improved images upload on the client side
Merge pull request #606 from ZogStriP/better-client-side-upload

improved images upload on the client side