also specify mime type on photo upload