Fixed uploading of large images, and dev version