Allowing jpeg.