I want to display an image(attached to the page) with markdown. From what I looked up on the various portals, the format is:
![Alt text](/path/to/img.jpg)
But, this works for actual links to the image. How do i reference the image that is attached to the page itself.
It doesn't seem like the Wiki Markup converter has any smart check to determine whether an image is attached to a page or not, so you'll probably have to use the following format:
![](/download/attachments/<page_id>/<filename>)
Thank you for the answer. It worked. Really appreciate your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No problem :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For anybody else coming to this page, the format is actually
![](<contextpath>/download/attachments/<page_id>/<filename>)
so for Confluence Cloud users it would be
![](/wiki/download/attachments/<page_id>/<filename>)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you inserting markdown in the "Insert Markup" menu or using a plugin to display it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Apurva,
Could you please let us know which product you are using (Confluence?), which type you are using (Cloud, Server), and if Server, which version?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.