00894: Provide a better means of attaching images with spaces in their names
Description: Currently it appears that the only way to attach an image name which has spaces in it is the kludge (from Uploads)
[[#blank | Attach:image name with spaces.jpeg"Sea lion"]]
This is a kludge because it produces a clickable link that goes nowhere.
[[#blank | Attach:Cookbook/image name with spaces.jpeg"Sea lion"]] |
Attach:Cookbook/image name with spaces.jpeg"Sea lion" | Attach:Cookbook/image Δ name with spaces.jpeg"Sea lion" |
[[Attach:Cookbook/image name with spaces.jpeg"Sea lion"]] |
[[|Attach:Cookbook/image name with spaces.jpeg"Sea lion"]] |
|
[[# | Attach:Cookbook/image name with spaces.jpeg"Sea lion"]] |
|
[[ Attach:Cookbook/image name with spaces.jpeg"Sea lion" | Attach:Cookbook/image name with spaces.jpeg"Sea lion"]] |
Attach:"Cookbook/image name with spaces.jpeg""Sea lion" | Attach:"Cookbook/image name with spaces.jpeg""Sea lion" |
Attach:'Cookbook/image name with spaces.jpeg'"Sea lion" | Attach:'Cookbook/image name with spaces.jpeg'"Sea lion" |
Attach:Cookbook/image%20name%20with%20spaces.jpeg"Sea lion" |
Attach:Cookbook/image name with spaces.jpeg"Sea lion" |
(guess not)
But as long as we're redoing the markup, wouldn't something REALLY simple and REALLY standard be best?
This way leaves room for all sorts of other embedding too (flash, java, etc., if you replace img: with flash: or whatever.)
[[img:Cookbook/image name with spaces.jpeg | Sea Lion]] |
|
Yes, I think an explicit media or image tag would be the best way to address this problem.
Alternative solution, allow quotes around the file name, viz
Attach:"some file.jpeg"
Tool tip could still follow Attach:"some file.jpeg""example tool tip"|caption