Embedded repository images in the wiki
It would be very useful if one can embed an image stored in the repository in the wiki, something like:
Ignore the '(' and ')' chars, they are just to avoid wiki processing.
#1 Updated by Thomas Lecavelier over 13 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 13 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)
#4 Updated by Anonymous over 12 years ago
#7 Updated by Sébastien Aubry almost 9 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.