Need help? Check out our Support site, then


Upper case extension for media

  1. Hi all.
    Maybe there is a solution, and maybe it's out there, but I did look, and didn't find anything. Sorry if I missed it.
    It appears that WordPress will not allow me to upload jpeg images with upper case extensions, such as image.JPG. It works with files like image.jpg just fine. Yes, I can just rename the files, but I don't think I should have to rename every image I want to upload. If there's an easy way, please let me know. Thanks.
    -Trygve

  2. panaghiotisadam
    Member

    Strange - I have no problem uploading such files. I don't know if it's related, but what browser are you using?

  3. Thanks for the fast reply! I'm using Mozilla Firefox, version 3.0.5, on Ubuntu 8.10.

  4. It's because file names on Linux are case sensitive. image.jpg is different from Image.jpg is different from image.JPG.

    I (at some point in time) had a script that would rename image.JPG to image.jpg. As to where it went or where I found it, I have no clue. At one point I reformatted my home partition and I guess I didn't have everything back up.

    If you want to email me at kathryn dot linux at gmail dot com, I'll see if I can whip something up now that I know a bit more. If not, I have someone I can ask.

  5. ok. That makes sense, I guess, though it seems like something I should be allowed to do anyways. I think I can figure out the script thing, but thanks for the offer!
    -Trygve

  6. You can, of course, do it through Gnome's file manager. I'm a KDE person, so I can't give explicit instructions.

    If you like CLI stuff, then do the following:

    mv image.JPG image.jpg

    for each image. Easy peasy with tab completion. A bit of a bigger pain if you have a bunch of files to do. That's where scripting would come in handy. Google "wildcard" or "globbing". Wildcard is the old term, globbing is the current one (or at least that's what I've been told).

Topic Closed

This topic has been closed to new replies.

About this Topic