[Chapter12] Implemented image upload