fixed image uploads and config