Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to link images to a URL if image preview is enabled

I'm struggling with something that should be very simple. All I want to do is make an image clickable, so when the users clicks the image they are directed to a URL. 

When in edit mode, if I click an image I get the option to add a Web Link, it saves but doesn't do what it suggests because  when I test my changes (not logged in) the URL has been overridden with the image preview.

This is basic functionality (nearly every web page I can think of has a company logo which when clicked returns the user to the home page) and as such, I'm convinced I'm doing something wrong, Can some one help?

 

 

 

2 answers

1 accepted

0 votes
Answer accepted

We had a plug in that was overriding the default behaviour (lightbox)

Hi @Dave Rook ,

it should work like this:

Add an image to your page, select it and click on "Link":

image.png

 

 

Add a Weblink and insert it:

 

image.png

Save the page. Clicking the image should lead you to the web address. 

Hi @Thomas Schlegel 

That is the process I (tried to) described. I am doing exactly what you've shared.

The issue is, after I log out and return to the page (simulating someone visiting my web page), when i click the link, it shows an image preview (the image only in the browser).

 

Thomas Schlegel Community Leader Jul 09, 2019

Do you link to a webpage or to another Confluence page?

Another confluence page (different URL), via the Web link. @Thomas Schlegel 

The destination web link is on another domain

eg, linking from

mysite.com/page

to

someOtherSiteThatWeOwn/page2

Thomas Schlegel Community Leader Jul 09, 2019

That's a strange behaviour. I tested it again in my environment, also as an anonymous user and it works perfectly.

Just for clarification: you are using Confluence Server, right? 

What do you see in your browser's footer, when you hover over your image? The link to someOtherSiteThatWeOwn/page2?

Which Browser are you using?  

Chrome. 

If you're not seeing it, then perhaps it's something controlled/configured on the admin side (which I don't have access too)... I will chat with IT now I know this seems like it is not a confluence issue

It turned out it's something to do with a plugin called Lunchbox that is overriding the behaviour. Thanks for your help @Thomas Schlegel 

Thomas Schlegel Community Leader Jul 09, 2019

You're welcome, @Dave Rook  - great that you found the problem!

@Thomas Schlegel I am trying to do the same - linking an image to a URL. However, I don't even see the link option when I click on the image. I am using the cloud version of Confluence.

Appreciate your help.

Thomas Schlegel Community Leader Sep 20, 2019

Hi @Saeed Hessami ,

on Cloud, it should be exactly the same. I just tried it and it looks like this:

image.png

  • Edit the page
  • Select the image
  • and then you should see the buttons 

Thanks @Thomas Schlegel for your response. I tried it again and the same issue. Then I created another page but this time I did not choose the option I had selected the first time and this time when I inserted an image I could see what you see.

I created the page I had an issue with using the selection shown in the screenshot below:

Confluence.PNG

I assume this page handles images differently.

Thanks for your patience and help.

Thomas Schlegel Community Leader Sep 20, 2019

You’re welcome, @Saeed Hessami 

Like Saeed Hessami likes this

Hello, @Thomas Schlegel 

I seem to be having the same issue as Saeed Hessami in the thread above. My image is a JPEG. As you can see I don't have an option to link the URL to the image. Your assistance is appreciated. Thank you.

2020-04-16_17-15-06.jpg

Like Rahul Kumar likes this

@AMT I am also facing the same issue.

Suggest an answer

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

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

408 views 23 8
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you