Project

General

Profile

Actions

Feature #1106

open

Embedded repository images in the wiki

Added by Leandro Lucarella over 16 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2008-04-25
Due date:
% Done:

0%

Estimated time:
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

Has duplicate Redmine - Feature #1752: allow source:/path/to/picture to be used when using inline image tagClosed2008-08-05

Actions
Has duplicate Redmine - Feature #8293: Reference images checked into the repositoryClosed2011-05-04

Actions
Actions #1

Updated by Thomas Lecavelier over 16 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.

Actions #2

Updated by Leandro Lucarella over 16 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)

Actions #3

Updated by Anonymous almost 16 years ago

This seems to fix it

Actions #5

Updated by Leandro Lucarella almost 16 years ago

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

Actions #6

Updated by Eric Davis almost 16 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.

Actions #7

Updated by Sébastien Aubry about 12 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.

Actions #8

Updated by jelle De Meyer about 12 years ago

  • Status changed from New to Resolved
  • Assignee set to Jim Mulholland
Actions #9

Updated by Etienne Massip about 12 years ago

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

Updated by K. Scott Tripp almost 12 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.

Actions #11

Updated by Georg Miller over 11 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

Actions #12

Updated by Alex Rojo over 10 years ago

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

Actions #13

Updated by Mischa The Evil about 7 years ago

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

Updated by Go MAEDA over 6 years ago

  • Has duplicate Feature #1752: allow source:/path/to/picture to be used when using inline image tag added
Actions #15

Updated by Go MAEDA over 6 years ago

  • Has duplicate Feature #8293: Reference images checked into the repository added
Actions

Also available in: Atom PDF