Feature #1106

Embedded repository images in the wiki

Added by Leandro Lucarella about 11 years ago. Updated over 1 year ago.

Status:NewStart date:2008-04-25
Priority:NormalDue 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

Duplicated by Redmine - Feature #1752: allow source:/path/to/picture to be used when using inlin... Closed 2008-08-05
Duplicated by Redmine - Feature #8293: Reference images checked into the repository Closed 2011-05-04

History

#1 Updated by Thomas Lecavelier about 11 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 about 11 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 10 years ago

This seems to fix it

#5 Updated by Leandro Lucarella over 10 years ago

Great. It's planned to be included in upstream? =)

#6 Updated by Eric Davis over 10 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 over 6 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 over 6 years ago

  • Status changed from New to Resolved
  • Assignee set to Jim Mulholland

#9 Updated by Etienne Massip over 6 years ago

  • Status changed from Resolved to New
  • Assignee deleted (Jim Mulholland)

#10 Updated by K. Scott Tripp over 6 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 6 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 5 years ago

+1 I need this feature too. Please....

#13 Updated by Mischa The Evil over 1 year ago

  • Subject changed from Embeded repository images in the wiki to Embedded repository images in the wiki

#14 Updated by Go MAEDA 11 months ago

  • Duplicated by Feature #1752: allow source:/path/to/picture to be used when using inline image tag added

#15 Updated by Go MAEDA 11 months ago

  • Duplicated by Feature #8293: Reference images checked into the repository added

Also available in: Atom PDF