Opened 15 years ago

Closed 15 years ago

#4069 closed Bug (invalid)

Cannot insert image using file URL

Reported by: Damian Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: IBM Cc:

Description

For certain browsers, the special case file URL: file:///<path> cannot be used to insert a local image. See: RFC 1738

Steps to reproduce:

  1. Use Windows XP/FireFox v3.0.11 or Mac 10.5.7/Safari 4.0.2
  2. Go to CK Editor nightly build => check the demos => Create and destroy editor instances for Ajax applications
  3. Place the cursor in the CK Editor text area and click the toolbar image icon
  4. Specify a file url for a local image (e. g. file:///C:\Waterlilies.jpg)
  5. Other fields of the Image properties dialog are optional

Expected result:
The image is retrieved from the local file system and inserted into the CK Editor text area

Actual result:
The CK Editor does not find the image file. No image is inserted into the CK Editor text area

Change History (1)

comment:1 Changed 15 years ago by Alfonso Martínez de Lizarrondo

Milestone: CKEditor 3.x
Resolution: invalid
Status: newclosed

AFAIK, only old versions of IE allowed to link web content to local files, and due to the security risk that it means, no browser currently allows to embed local resources into web pages located on a web server.

The image dialog will insert the img with the src provided, but it's the browser the one that won't show it. Doesn't matter if it's while you are editing or on the public site, so this is only a matter of the browser used to view the content.

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