change onclick for images to anchor tags