Minor fix for image uploads in posts