-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Allow Picture in the WIKI #4376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can add pictures and other files via git. Simply clone the wiki git repo, add your changes and push. You can reference those files by there relative path. For example While testing this I discovered a bug which results in a wrong image link. I will send in a PR to fix this. |
@JonasFranzDEV Is this fixed by #4377 ? |
No I did not mean to make it easier. I did indeed upload pictures to the wiki via git and referenced those pictures with MD in the wiki files. This resulted in a logon popup to be displayed while accessing that page. When moving the same image and md file to my main project.git directory I was not prompted for a logon. |
Images in wiki are still not working for me. |
This works in Gitea version 1.10.2:
|
At least in my case, this works ONLY while in the Preview mode on the Wiki page editor. As soon as you go to the actual wiki page, it is a 404. Any idea how to get this link to work all the time? |
Reporting back... Solved my own problem. At least in my config, the preview shows up fine with one set of '../' but does not work when showing the page itself. If I add '../../' the preview stops working but the page itself works fine. |
I have tired several ways to make images show up in the wiki pages. Adding pictures to the markdown pages of the project.git is easy and I think the wiki should work the same way.
The text was updated successfully, but these errors were encountered: