add mainurl and mainimgurl