User login
Navigation
Popular content
Recent blog posts
Active forum topics
Recent comments
Who's new
Who's online
There are currently 0 users and 3 guests online.
|
ImagesOur web site allows to add images to articles or forum topics by means of the Images command at the top. There are a few points to remember:
Technical background: The special characters problem is a flaw in the CMS (Content Management System) we are using. I have filed a bug report for it, but it won't be fixed instantly or may not be fixed at all. I also try to fix badly named image files when I see one, available time permitting. Hans |
Apostrophes
Wed, 2007-08-08 06:08 by hcroze
Ever since I spent a long time a couple of years ago discovering why something wouldn't work in ArcGIS (the reason was an apostrophe in a file or directory name), I've formed the habit of using underlines (_) instead. Suspect that if an industry standard like ESRI's GIS software doesn't like apostrophes, then there are probably a lot of other programmes as well.
Thx, Hans, for the guidelines.
_________
HC
It's still a defect in the software.
Wed, 2007-08-08 08:05 by Hans
Of course the software shouldn't accept data that it then cannot handle. It is clearly a defect in the software, both here and in ArcGIS (unless it's clearly stated in the documentation---then it would be a weakness or a flaw). I'm saying this so nobody puts the blame on himself, which would be totally unfounded.
But that doesn't help us. Until the makers fix it, we have to use workarounds, the obvious one here being to avoid special characters in filenames.
What is almost universally guaranteed to work is lower case letters, digits, and the underscore. What will likely work is upper case letters (though there is a huge difference between Windows and Unix/Linux here; Windows considers them the same, while the others differentiate) and the hyphen. What may cause problems here and there is the space character (often has to get special treatment, like encoding as %20), and what can cause all kinds of problems is other special characters, which often have special meanings and functions, particularly the apostrophe (') and the ampersand (&), but probably also some other special characters.
Since I've filed a bug report on this for the Node Image module, there's a fair chance that we'll get this fixed here, but don't hold your breath. We have an even better chance to get automatic picture size reduction, which, I believe, is already in the current development version. [Addendum] Yes, we have it now. I've set it to reduce to 800 pixels, so you don't get your high-resolution photos stolen.