Opened 10 years ago

Closed 10 years ago

#12708 closed Bug (invalid)

Easy image insert extension twice ex: .jpgjpg

Reported by: Steve Fournier Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

I am using Easy image with CKEditor and when I upload the file, everything is good the file is uploading without problem. If I check with FTP the file is there. But in my CKEditor the filename has the extension twice filename.jpgjpg if I hit the source button and delete the extra "jpg" the images load but I can't ask my user to do that everytime they add a picture ....

Anyone knows how I can solve this?

Change History (3)

comment:1 Changed 10 years ago by Jakub Ś

Status: newpending

But in my CKEditor the filename has the extension twice filename.jpgjpg

I'm not familiar with this extension nor can I see it in CKEditor add-ons page.

Could you:

  1. Provide some link to this extension
  2. Check what CKEditor receives in response because it is possible that uploaded image is ok but when send to CKEditor it gets extra extension.
  3. Check if this extension is compatible with CKEditor (point two should also answer that)

comment:2 Changed 10 years ago by Steve Fournier

You can see it happen here

http://www.digitus.ca/admin/ckeditor/samples/replacebyclass.html

I believe your #2 is right, uploaded image is ok but when send to CKEditor it gets extra extension

But I don't know how to get rid of that extra extension.

Bye the way, I believe JPG is a common extension and yes it is compatible ..... :-)

comment:3 Changed 10 years ago by Jakub Ś

Resolution: invalid
Status: pendingclosed

From sample page you have provided I can see that image is getting uploaded and the server returns: "/admin/ckeditor/plugins/doksoft_uploader/userfiles/test.jpgjpg" in this case this isn't CKEditor fault and issue will be closed as invalid.

To answer your question: "how to get rid of that extra extension". Please debug whole request to find out where is gets applied.

  • This may be some regex that checks if image has extension but because of invalid substring indexs it fails to identify this extension and add its own.
  • This may be some filter that adds extension just based on mime type without looking if file already has one.
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy