web training code development and Rotate images