Add images to a wiki page

To add an image to a wiki page, do the following:

  1. Clone the wiki to your local computer:
  2. Add the image to the wiki.
  3. Include the image in your wiki page using the appropriate  syntax.
    The syntax you use to format the code block depends on which language you choose for your wiki. 

    Markdown Creole
    ![Alt text](/path/to/img.jpg "Optional title")
    {{image .jpg}}
    {{image .jpg|this is the alt text for my image}}
    [[some link|{{image .jpg}}]] - if you click on the image, will goto "some link"
    [[|{{image .jpg}}]] - same as above: picture links to url
    Textile reStructuredText
    .. image:: image.jpeg
       :height: 100px
       :width: 200 px
       :scale: 50 %
       :alt: alternate text

    Wiki syntax is case sensitive.  If the image file name is image.png make sure your syntax specifies exactly that.

  4. Commit your changes locally.
  5. Push the new changeset to Bitbucket Cloud.


Using Wiki Markup in Bitbucket
Bitbucket 101

Last modified on Sep 22, 2015

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.