added mechanism for latest image
added latest img to html