Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Relative path vs full path for images and PDF links
#11
Hi, I don't know if this helps but when I just edited a pages XML file directly and removed the "html://localhost/subdirectory-name/" from the full url image path so all that is left is "data/uploads/image.jpg", This works then on both localhost and the live domain in BOTH frontend AND Admin!!!

Ckeditor must use the root directly as the starting place for the loaction of the image - even in Admin.

This means all that has to be done is when an image is selected /inserted from CKEDITOR is to force the insertion URL to be "data/uploads/{image}" rather than the full http://{server/domain}/data/uploads/{image}.

Does anyone know where CKEDITOR gets the URL path info from? I had a look at the IMAGE plugin for CKEDITOR but I don't really know javascript that well but it may be in there somewhere.

Anyway thought I might add this two cents worth Smile
Reply


Messages In This Thread
Relative path vs full path for images and PDF links - by stryker - 2012-03-01, 15:00:31



Users browsing this thread: 4 Guest(s)