]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/capitalized_attachment_names.mdwn
I am bad at formatting.
[ikiwiki.git] / doc / bugs / capitalized_attachment_names.mdwn
1 Given an uploaded image via: \[\[!img NAME.svg alt="image"\]\]
2
3 Viewing the generated page shows the following error:
4
5 "\[\[!img Error: failed to read name.svg: Exception 420: no decode delegate for this image format `/home/user/path/name.svg' @ error/svg.c/ReadSVGImage/2815\]\]"
6
7 The caps in the image title were somehow converted to small letters and then the image is saved as a directory.  Very puzzling.  
8 I get the same error when image names are small letters.
9
10 The error also occurs with png images.  
11
12 How do I fix this?
13
14 Later investigation ... I got around the problem by creating the mark-up in a new directory.  However, if I try to create a new directory with the same name as the directory containing the problem code, the problem re-emerges -- the old directory is apparently not overwritten.  Perhaps this is an issue with the git storage.