Extend valid picture size to 5 MB