more from last night on image upload handling