adds image upload support