fix file image edit - basic auth, clear aspect ratio, size on set aspect; warn unsaved