test code for image uploads in