Odd behavior of image links in galleries. Feature or a bug? šŸ¤”

Not sure if this is a bug or ā€œa featureā€, as they say :grin: but if it is a bug, Iā€™d like to bring it to the Ghost teamā€™s attention to help them fix it.

Currently, it is possible to make gallery images hyperlinks so that when somebody clicks on these images they are taken to a URL, rather than the default behavior of gallery images which is to open a larger version of the image in a modal window.

To do this, at the moment, what you need to do is create an image card, add a hyperlink to it, then create a gallery and drag the image card into it. That image in the gallery then becomes a link, which is great, because thatā€™s what we want :partying_face:

But the odd thing is that the link only opens with a middle-click. A left-click, which people would be accustomed to using to open links, still just opens a modal.

Iā€™ve noticed that a few people have missed this and assumed that gallery image links werenā€™t working at all. I only thought to try a middle-click because I noticed a URL appearing in the status bar while hovering over the image.

Thatā€™s not the default behaviour, itā€™s coming from your theme. Which theme are you using?