Feature #1106
Embedded repository images in the wiki
Status: | New | Start date: | 2008-04-25 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Wiki | |||
Target version: | - | |||
Resolution: |
Description
It would be very useful if one can embed an image stored in the repository in the wiki, something like:
(!)source(:)path/to/image.png(!)
Ignore the '(' and ')' chars, they are just to avoid wiki processing.
Related issues
History
#1
Updated by Thomas Lecavelier over 14 years ago
I could be a good idea, but I have some fears concerning security issue: how to be sure that the linked image is not a "bad-ass in disguise" which could eventually break the redmine presenting it or other? Could be a problem too, to determine if the currently logged user can has access to the repository: it would be a shame that redmine display an image that the user haven't right to see.
#2
Updated by Leandro Lucarella over 14 years ago
I don't see the problem, it should be just expanded to the repository URL.
What I'm doing now is make that expansion myself, I use: (!)[full url](!). If the user don't have repository access, the image simply will be not shown (because the browser will get a 403 or whatever the current mechanism is).
It would be wonderful if Redmine do that expansion for me :) (this way I don't have to worry if Redmine change it's URL scheme in the future or if I deploy my Redmine differently in the future)
#3 Updated by Anonymous over 13 years ago
This seems to fix it
#4 Updated by Anonymous over 13 years ago
#5
Updated by Leandro Lucarella over 13 years ago
Great. It's planned to be included in upstream? =)
#6
Updated by Eric Davis over 13 years ago
Leandro Lucarella wrote:
Great. It's planned to be included in upstream? =)
If there was some tests for it I don't see why not. Might need to also check permissions to make sure the user is allowed to browse a repository.
#7
Updated by Sébastien Aubry almost 10 years ago
Has this feature ever been integrated? I tried to use the (!)source(:)path/to/image.png(!) syntax but it did not work. It would be very useful!
In the same way, when I try to open .png files in my SVN repository, I cannot see them inside the web browser. I am always asked to download them as files.
#8
Updated by jelle De Meyer almost 10 years ago
- Status changed from New to Resolved
- Assignee set to Jim Mulholland
#9
Updated by Etienne Massip almost 10 years ago
- Status changed from Resolved to New
- Assignee deleted (
Jim Mulholland)
#10
Updated by K. Scott Tripp over 9 years ago
+1 This would be very nice.
I'm guessing the plans to include it upstream fell through the cracks some time ago though.
#11
Updated by Georg Miller over 9 years ago
+1 I need this feature also a lot.
Has anyone the patch from Jorge Bernal, because the link to github is broken?
Best regards
#12
Updated by Alex Rojo about 8 years ago
+1 I need this feature too. Please....
#13
Updated by Mischa The Evil almost 5 years ago
- Subject changed from Embeded repository images in the wiki to Embedded repository images in the wiki
#14
Updated by Go MAEDA about 4 years ago
- Duplicated by Feature #1752: allow source:/path/to/picture to be used when using inline image tag added
#15
Updated by Go MAEDA about 4 years ago
- Duplicated by Feature #8293: Reference images checked into the repository added