format img and add section