Make WordPress Core

Opened 15 years ago

Closed 12 years ago

#18070 closed defect (bug) (worksforme)

jpg vs. jpeg error when editing a LINK URL image in a post

Reported by: multimule's profile multimule Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords: reporter-feedback
Focuses: Cc:

Description

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!

(originally posted at https://wordpress.org/support/topic/bug-jpg-vs-jpeg-error-when-editing-a-link-url-image-in-a-post?replies=4)

Change History (3)

#1 @kawauso
15 years ago

  • Keywords reporter-feedback added; jpeg jpg link url removed

I can't reproduce this on 3.3-aortic-dissection. Can you reproduce the error without any plugins active and using the default theme (Twenty Eleven) for a newly uploaded image?

#2 @iseulde
12 years ago

  • Component changed from General to Media

#3 @markoheijnen
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Severity changed from major to normal
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.