Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: Walter Schulz on June 23, 2016, 10:35:43 AM

Title: Linking a pic stored in Bitbucket?
Post by: Walter Schulz on June 23, 2016, 10:35:43 AM
Couldn't find a working solution for this one.
- Pic file stored in Bitbucket/Mercurial.
- Want to link it into a forum post (BBCODE or else). Not just as a download link (which works) but displaying the file's content.

Should be doable in GitHub, though.
Any help appriciated!
Title: Re: Linking a pic stored in Bitbucket?
Post by: Audionut on June 23, 2016, 11:17:13 AM
For something like this (https://bitbucket.org/hudson/magic-lantern/src/90fe6de35cb9ebe54d8b3e5c1eec2d8a651d3c4b/doc/01_audio.png?at=unified&fileviewer=file-view-default), click on "raw" towards the top right, or right click on the image and select "view image". 

Then copy the link from the browsers address bar and paste it in the image [ img ] tags.

(https://bytebucket.org/hudson/magic-lantern/raw/90fe6de35cb9ebe54d8b3e5c1eec2d8a651d3c4b/doc/01_audio.png)


In an ideal world, you probably would think about bandwidth requirements on the host, and use a free image host or something instead.  Download image, upload to free image host, copy link to [ img ] tags.