00894: Provide a better means of attaching images with spaces in their names

Summary: Provide a better means of attaching images with spaces in their names
Created: 2007-02-26 18:54
Status: Open
Category: Feature
From: Simon
Assigned:
Priority: 4
Version: All
OS: n/a

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.

kludge
[[#blank | Attach:Cookbook/image name with spaces.jpeg"Sea lion"]]
Sea lion
doesn't work
Attach:Cookbook/image name with spaces.jpeg"Sea lion"

Attach:Cookbook/image Δ name with spaces.jpeg"Sea lion"

links to image, rather than displays it
[[Attach:Cookbook/image name with spaces.jpeg"Sea lion"]]

Attach:Cookbook/image name with spaces.jpeg

hmmmm
[[|Attach:Cookbook/image name with spaces.jpeg"Sea lion"]]

hmmmm
[[# | Attach:Cookbook/image name with spaces.jpeg"Sea lion"]]

not an improvement
[[ Attach:Cookbook/image name with spaces.jpeg"Sea lion" | Attach:Cookbook/image name with spaces.jpeg"Sea lion"]]
Sea lion
gotta try it, perhaps this should be the solution
Attach:"Cookbook/image name with spaces.jpeg""Sea lion"

Attach:"Cookbook/image name with spaces.jpeg""Sea lion"

gotta try it, perhaps this should be the solution
Attach:'Cookbook/image name with spaces.jpeg'"Sea lion"

Attach:'Cookbook/image name with spaces.jpeg'"Sea lion"

I think I've seen this work
Attach:Cookbook/image%20name%20with%20spaces.jpeg"Sea lion"

Attach:Cookbook/image%20name%20with%20spaces.jpeg Δ

I think I've seen this work
Attach:Cookbook/image name with spaces.jpeg"Sea lion"

Attach:Cookbook/image name with spaces.jpeg Δ

(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.)

Nice solution
[[img:Cookbook/image name with spaces.jpeg | Sea Lion]]

MikeShanley?


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