Wrong image references in wiki #5596

Closed
opened 2025-11-02 06:30:19 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @Lonerider2010 on GitHub (Jun 19, 2020).

Description

When I mirrored the QMapShack github repository (https://github.com/Maproom/qmapshack), the wiki was also mirrored.
In contrast to the working wiki on github (and also working try gitea test wiki, see above), my local gitea repository
does not show the included images. Whereas the image links in the .md files refer to the images directory, my local
mirror changes these links from "images/..." to "raw/images/...". As there is no raw directory, the images are not shown.

Screenshots

Working image references:
working-refs

Not working image references:
not-working-refs

What is wrong with my local gitea server?

Originally created by @Lonerider2010 on GitHub (Jun 19, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.10.1 - Git version: 2.20.1 - Operating system: Raspbian GNU/Linux 10 (buster) - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No (see https://try.gitea.io/Lonerider2010/Test_Wiki/wiki) - [ ] Not relevant ## Description When I mirrored the QMapShack github repository (https://github.com/Maproom/qmapshack), the wiki was also mirrored. In contrast to the working wiki on github (and also working try gitea test wiki, see above), my local gitea repository does not show the included images. Whereas the image links in the .md files refer to the images directory, my local mirror changes these links from "images/..." to "raw/images/...". As there is no raw directory, the images are not shown. ## Screenshots Working image references: ![working-refs](https://user-images.githubusercontent.com/4317444/85181957-95191700-b287-11ea-96c6-0983c0041eb8.png) Not working image references: ![not-working-refs](https://user-images.githubusercontent.com/4317444/85181986-ab26d780-b287-11ea-9618-2302f2e99178.png) What is wrong with my local gitea server?
Author
Owner

@mrsdizzie commented on GitHub (Jun 19, 2020):

This is fixed in 1.12 version which is why you can't reproduce on try. you'd need to update and it should display right after

@mrsdizzie commented on GitHub (Jun 19, 2020): This is fixed in 1.12 version which is why you can't reproduce on try. you'd need to update and it should display right after
Author
Owner

@Lonerider2010 commented on GitHub (Jun 20, 2020):

Thank you for this hint.

@Lonerider2010 commented on GitHub (Jun 20, 2020): Thank you for this hint.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5596