(#8) - functionality to upload image to component