text and image upload working