revise img link and code format