fixed image uploads, hopefully