code for image adaptative resizing
translated
Changed upload and resize path for public access
updated submit sintaxis