Toggle cloak macro with an image instead of text: how to avoid the 'Image Preview'?

Hi all,

I would like to enable users to click on a image instead of some text, like in this example:

toggle-cloak-macro.png

However, when clicking on the image, the 'Image Preview' is opening... Although the "cloak' section appears / hides well, is it possible to avoid the 'Image Preview'?

 

Thanks in advance,

2 answers

1 accepted

This widget could not be displayed.

Hi Nicolas,

The steps for the solution is as follow:
1) Proceed to edit mode of the page
2) Click on the image
3) Click on link button
4) Click the on the Advanced link located on the left panel of the pop-up 
5) Enter the value #1 in the Link text-field
6) Save the page

Please note that setting the Link value #1 as a bogus anchor would eliminate the page reloading laugh

Credits to Javier Olazaguirre

Answer Source: https://answers.atlassian.com/questions/116396 

 

Thanks @Muhammad Khalid Kader Mohideen , it works fine!

Nice bit of added trickery to eliminate the page refresh!

This widget could not be displayed.

Try adding a Link to the graphic to just #. It will cause the page to reload, which might be better?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

271 views 2 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you