I’m using a widget to post images in my sidebar. When clicked, they open by default in a lightbox. Problem is that I find the lightbox does not look very sharp, and it also has the file name on top, etc.
Question: Is there a way to get the image to open in a new window or tab? Instead of the link to the image in my library, is there a line of code that would solve this?
Add the class=”nolightbox” on the anchor tag. Something like this
<a class="nolightbox" target="_blank" href="http://www.google.com"><img src="IMG_URL"></a>
The topic ‘Open image in new window’ is closed to new replies.