pyrocms/pyrocms — Issue #1183: Gotcha with Insert image or link in CKeditor
Author: wollombiwombat
Created: 2012-02-29 04:53:47+00:00
State: open

I have discovered the hard way that when I insert an image or a link to an uploaded pdf file in the page Content area with CKeditor, the link to the image or file is an absolute URL. This is a serious hassle when dealing with a large site that gets built on a staging server then transferred to a production server. All these links to images and files have to be located and changed once the site has been transferred to production.

Any chance that the process for creating the inserted link can be changed to root relative perhaps prefixed by a url tag such as {{ url:site }} or {{ url:base }} followed by the path to the file ?