change max image size from 100 to 500 KB