reduzed max image size to 2MB