This started happening about a week ago when I changed cameras. Whenever I save a file called, for example, IMG_1234.JPG, it gets saved as IMG_1234.jpg with the extension changing from upper case (which I want it to be) rather than lower case. So, if I don't then rename it manually or using batch rename, it gets loaded to my web site with the wrong name and people see the wrong picture. This is a big deal to me as I load hundreds of pics to my website each week and it takes forever to have to rename them. My old camera used to call files aaa_1234.JPG and I had no problem with the extension staying as JPG.
Announcement
Collapse
No announcement yet.
How to stop file extension changing case
Collapse
X
-
If the server is running a UNIX-like OS (Linux, *BSD, ...) it matters, since UNIX file names are case-sensitive (and the extension is not an exception, since actually it's just the end of the name). If any browser tries to retrieve from such server a file requesting it with the wrong case combination, the server will simply return a 404-not found error, which is perfectly right, since files whose name differs even just for case are different files on UNIX.Last edited by MItaly; 30.03.2010, 11:35 AM.IrfanPaint developer
The latest stable IrfanPaint version is the 0.4.13.70.
IrfanPaint is now open-source (released under BSD license).
Comment
-
True, Capitalizations do matter under UNIX, LINUX and company. When I changed from Windows Hosting to LINUX Hosting some time back, I had so many broken image links! I decided to go in for uniformity and all small letters, but had to work on virtually each image's name and each corresponding link!
Since you upload hundreds of images weekly, perhaps the easiest way is to link up your newer images with the non-capitalized extensions and letting the older ones stay capitalized. Almost no re-work that way!
Comment
-
Hi johnmnz,
Unluckily, there is no option to control upper or lower case for the extensions.
LaurentBefore you post ... fill in your OS and IV version in your profile.
Comment
Comment