[wp-trac] [WordPress Trac] #18070: jpg vs. jpeg error when editing a LINK URL image in a post

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 11 16:21:13 UTC 2011


#18070: jpg vs. jpeg error when editing a LINK URL image in a post
--------------------------+-------------------------------
 Reporter:  multimule     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  major         |   Keywords:  jpeg jpg link url
--------------------------+-------------------------------
 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)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18070>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list