Comments
-
Bruno Michel
By th way, it doesn't seem possible to include an image from an external site.
{{http://my.site/images/foobar.png}}
is not replaced by an <img> tag. Is it correct?
-
Greg Hurrell
That's right, Bruno. Originally this decision was made for security reasons, given that basically untrusted third-parties can use wikitext markup in their comments and other submissions to sites like this one. Basically, by not allowing people to insert images from other servers it's impossible for them to insert offensive images.
If you actually trust your users not to abuse this, then you'd want an option to allow absolute URLs inside image markup (
{{}}
), but I think that should be a separate ticket from this one. -
Greg Hurrell
Ok, just made a separate ticket, ticket #1429, to keep this second feature request separate.
-
Greg Hurrell
Now to reply to your initial feature request, about syntax like this:
[http://my.site/images/full.png {{thumbnail.png}}]
Yes, I think it's a good idea. Should probably also accept "relative" URLs as well:
[/images/full.png {{thumbnail.png}}]
Which would obviously also allow linking to non-image resources:
[/comments/new {{thumbnail.png}}]
So I'll look into this and see if it would be feasible.
-
Greg Hurrell
Summary changed:
- From: Image in a link
- To: Image markup ({{}}) inside a link markup ([]), for linking from thumbnail to larger version of image
Add a comment
Comments are now closed for this issue.