revise main img to div