link an image to a url

minesh patel July 23, 2015

Hello,

I have a image on my confluence page and I want to link that same image to a website address ( a URL).

Can someone tell me how I can do that?? Thanks.

6 answers

1 accepted

2 votes
Answer accepted
Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 23, 2015

Easy! Select the image, click Link that will appear below it, select Web link, enter the URL.

minesh patel July 23, 2015

Sorry, I am using an older version of confluence right now. Am going to upgrade very soon. Can you give me the wiki-markup code on how to link an image to a URL?? Thanks.

Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 23, 2015

Hmmm, maybe not so easy. If your version allows you to View Storage Format (which must be enabled by an Administrator), you can add <a href="http://website.com">; in front of <ac:image ac:height="250"><ri:attachment ri:filename="graphic.png" /></ac:image>.

Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 23, 2015

Actually it is fairly easy. Insert Markup [!graphic.png!|http://website.com] Mind the [ ]s, !s and |.

Like Agus likes this
minesh patel July 23, 2015

Thank you very much it worked.

Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 24, 2015

Please mark the question as answered.

Gagneux Julien January 21, 2020

thats not work anymore. Impossible to add weblink on an image. It's a shame ...

Like # people like this
Martin Leeb January 28, 2020

also not working for me - this is a basic function 

Like # people like this
Library Curator February 2, 2020

I have the same question. Adding a hyperlink to an image works in the version of Confluence we use at work, but this option does not appear in the cloud hosted version.

This seems like basic functionality that is missing for some reason.

I'd be interested to know why the feature was removed?

Perhaps its not enabled by default or something...

Like # people like this
jleaders February 26, 2020

Appears to be missing in Cloud

Like # people like this
jleaders January 7, 2021

Added to cloud as of 2021 (six years late I must add)

4 votes
Jonno Katahanas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 26, 2020

Hey peeps! Editor Product Manager here. We're totally aware of the need for this functionality and are actively working on it. We don't have an exact date we can share, but expect it to land in your hands soon. 

We'll be sure to update you when it's out.

Hope that helps!

Jonno

Caleb Ray May 29, 2020

Hey Jonno, is there a card open that we can follow along with the status of this?

 

This is a massive negative impact on our team of 1300+ so we're eager to know when it's fixed.

Jonno Katahanas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 31, 2020

Heya @Caleb Ray - you can track status of this feature here https://jira.atlassian.com/browse/CONFCLOUD-65640

We'll update the status of the ticket when it lands for customers :) Shouldn't be too much longer.

Hope that helps!

Like Rawan Algharbawi likes this
Caleb Ray June 24, 2020

@Jonno Katahanas you rock – thanks! Hope you're well

Abby Gettys August 26, 2020

Hey, @Jonno Katahanas is there an update on this? Trying to link an image now and found this thread from June - let me know!

2 votes
Naomi Watnick May 18, 2020

Hi - it appears that even if I had created an image with a link to it and upgraded it to the new formatting experience in Confluence Cloud, it strips out the link.  Can someone from Atlassian please address this lack of basic functionality and parity with the old editing experience?

Thanks!  (and/or provide a way to upload files directly to a storage area in the Confluence instance so we can utilize the markdown hack as presented above)

Grace Gornall May 22, 2020
Like Monique vdB likes this
Monique vdB
Community Manager
Community Managers are Atlassian Team members who specifically run and moderate Atlassian communities. Feel free to say hello!
May 26, 2020

@Grace Gornall thanks for the ping, as @Jonno Katahanas mentioned below this is coming soon! 

Rob Lingstuyl July 2, 2020

well?

Mat Fink July 3, 2020

Also need this

Bradley Corner July 14, 2020

I am interested in displaying a generate graphic depicting build status on confluence pages.  Any updates on using embeded gif URLs?

Robert Nyren July 16, 2020

we need to have images that link to URLs. this is a basic feature! let's get it done!

Like # people like this
SJ Hastings July 23, 2020

This is such a stuff up by Atlassian with the new image handling. Through 2018 and 2019 you could link an image to whatever, you could re-size it precisely. Now you can't. Why does Atlassian walk backwards with features so many times? They often make changes which I have trouble believing anyone wanted, delete great featurs - and in the case of image linking make it a very dumbed down page experience. 

Like # people like this
1 vote
jleaders February 26, 2020

There is no "official" way to do this in Confluence Cloud currently.
However, there is a janky workaround.

Install this free app to render markdown

Add it by typing /mark in your page

Edit it and add the following markdown:

[![http://example.com/image.png](http://example.com/image.png)](https://example.com/site)
Rob White March 15, 2020

OK... It's a little janky, but it worked great for me.  Thanks!

david April 29, 2020

Thanks @jleaders @Rob White .

I have installed the markdown app that was suggested

If I uploaded the images to confluece. What would my markup looklike? I guess I need to figure out the file path to the images?
Also do I need to add the following markdown for each image or is the https example only for https pages? Sorry bit of a nube when it comes to this.

[![http://example.com/image.png](http://example.com/image.png)](https://example.com/site)

 A screen shot of adding this to a confluence page for an image uploaded to confluence would be huge if someone had a sec. Thanks in advance for any help on this one. 

david April 29, 2020

So inspecting the image I want to link from that I have embedded on a page in Confluence below this is what I am seeing. Is the bold/italic part below what I replace the example.com references above with?

<img class="sc-fQfKYo gHwILp" data-testid="media-image" draggable="false" src="blob:https://xxxxxxx.atlassian.net/90ff040e-bad5-4c92-b5be-39660e768542#media-blob-url=true&amp;id=e8568e15-2fee-4194-9212-9141dc31dd94&amp;collection=contentId-121045268&amp;contextId=121045268&amp;mimeType=image%2Fpng&amp;name=001-business-and-finance.png&amp;size=1309&amp;width=64&amp;height=64" style="transform: translate(-50%, -50%); height: 100%;">

jleaders April 29, 2020

Confluence cloud doesn't seem to expose a URL to images that can be referenced. In other words, I'm not sure that it is possible. HOWEVER, I notice some confluence pages use an "old" interface or a more complex interface. Why? I have no idea. It seems to be the root page of a space that does this only after you delete all other pages. This page can link images fine with a GUI.

david April 30, 2020

Thanks @jleaders I will try to unpeel a space to find the magic page :). To confirm the markdown workaround you mentioned above doesn't work in cloud per the lack of a referenceable URL being exposed by cloud? Thanks again for taking the time to help with this. 

jleaders April 30, 2020

One solution would be to host the image elsewhere (wordpress, sharepoint, google drive, social media) and use a public URL from that

Like Nikita Verbitskiy likes this
Rob White May 7, 2020

I had this working.  It worked great for about two weeks.  Since, it just stopped working.  I have not made any changes.  I gave up and use text links.

I think the answer is this still works in confluence server, but not cloud.  Bummer.

0 votes
Yurii Panaiotov March 15, 2021

Hi, I use a cloud version and I still have the same issue. There is no way to add an image by link on an external site. Markdown workaround adds iframe to the page and looks horrible. And it is very sad because I want to use images that will be dynamically changed during time. Meanwhile, all images that I have added a long time ago via the old version of the editor look perfect.

 

UP: sorry, probably the wrong topic, I have added the same to https://community.atlassian.com/t5/Confluence-questions/How-can-I-add-an-image-by-embedding-a-weblink/qaq-p/1307665#U1638533

0 votes
Deleted user January 7, 2021

This feature was recently added to the cloud version but there is an issue. When I add the image from my uploads area and then select to make it a link and paste the URL in the link field, it creates a new image of the URL in my uploads area and doesn't accept the URL as the link and gets rid of my image and swaps it out with the new image of the long URL. The only workaround I have found is to upload the image I want to add a link to and then MANUALLY type in the URL which is not a very positive/useful user experience.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events