Support » Requests and Feedback » BUG: jpg vs. jpeg error when editing a LINK URL image in a post

  • This problem deals with an unfortunate discrepancy between file extensions .jpg and .jpeg — The results equate to frustrating 404 errors and lightbox plugins that seem to be broken.

    Here’s what happens:

    1) Upload an image with file extension ‘.jpeg’ (note the ‘e’) and insert it into a post, with a blank ‘Link URL’.

    2) Now that the image is in the body of the post, edit the image’s Link URL. (hover-over the image in the post and click the small icon on the upper-left that appears). If you click the ‘File URL’ button to auto-full the Link URL box, it will autofill the correct image address, but with a ‘.jpg’ extension!

    This lead to 404 errors, a lightbox plugin that appeared broken, and had me thinking it was an .htaccess issue from my hosting company….

    NOTE: it autofills with the correct file extension when clicking the ‘File URL’ button is clicked upon initially inserting the image, however it fails when using the secondary menu that is available after inserting the image.

    Thanks for fixing this!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Do you have any image related plugins?

    Hi Ipsentu.

    No this is not a plugin issue. Infact, I just tested this on a completely separate install of WordPress with absolutely no plugins, and it does the same thing. Try it for yourself.

    It’s a bug.

    I did. It worked fine for me on 2.9.1 and 3.0-alpha. That’s why I asked. I checked in both Visual Editor and HTML (my preferred style).

    That said … my button says ‘Link to Image’ and not ‘File URL’. Is that really what yours says, or were you shorthanding?

    What kind of server are you on: Windows or Unix?

    PHP version? Any custom setups? Folder permissions?

    The auto generated images (the 150×150 size I use for thumbs) was a .jpg file, but the .jpeg I uploaded was exactly as it should be.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘BUG: jpg vs. jpeg error when editing a LINK URL image in a post’ is closed to new replies.