written interfaces for image uploads