Changed html returned to image nested in <a> </a> instead of on click <img>.