How can I reference an image in GitLab markdown in the current directory with the path starting with ./ dot slash?

without the ./
works for me: https://gitlab.com/cirosantilli/test/blob/bffbcc928282ede14dcb42768f10a7ef21a665f1/markdown.md#image
I have opened a request for this to be allowed at: http://feedback.gitlab.com/forums/176466-general/suggestions/6746307-support-markdown-image-path-in-current-directory-s , but it entered into Internet void when GitLab dumped UserVoice.
Similar problem with Gitlab & Images in readme.md
I had the same problem with my Logo inside of a readme.md in my Extension and with Gitlab (running on a Ubuntu-Server).
Ubuntu Version: 16.04.2 LTS
Gitlab Version: 10.3.4 56dc722
My Solution
You can also use a snippet for image-usage in your readme.md by simply following these steps:
In the Overview of Gitlab (Logged in)
- Go to the project where your want to use that image
- in the topnavigation on the right click the + button
- UNDER YOUR PROJECT click new snippet in the dropdown
In the new snippet form
- Type a title
- On the bottom right corner of the RTE-Field click Attach a file
- Select your file and press Open
- Click the checkbox Public
- name the snippet (under the Checkboxes) [the field beside the 1 not the "header"]
- Click Create Snippet
Troubleshooting
If you get the following error you forgot point 5:
The form contains the following error:
Content can't be blank
Now we have a working Imagelink
Now, if you edit the snippet again, you can copy the Image-Code looks like this:

to your readme.md file.
If you like to use a link also, it has to look like that:
[](https://your-destination.com)
Hope it helps other ppls
- Go to your project
- Select issues
- Create new issue
- In the new issue description, click on attach file
- Browse to your file and attach
- A link in the form "
" will be generated on the description pane.
- Copy the link and paste it in your readme.md file
- Do not submit the issue unless you had intended to.