[solved] Images Small and Large Linked

On my web page I have a number of images, that I keep to a small size so the page loads quickly.
I add a link to the image that goes to the larger file sized image.
This gives in the HTML an “a|” (with the larger image) and under that at “img|” with the smaller image.
I want the smaller sized image to open up the larger image on a separate tab on the web page. Thus keeping where the reader was on the original page’s tab open.
Sometimes it works, sometimes it does not.
what am I doing wrong?

Have you added target=“_blank” to your anchor a tag? This helps with opening the href in a new tab

Thanks that resolved the issue

1 Like