Hi
On my development machine all images inserted by fckeditor display, now that I've uploaded the website to the production server, images inserted by fck do not display. The problem is to do with fck editor adding a forward slash at the beginning of the url.
i.e.
src="/userfiles/image/pages/library_image(1).jpg"
i presume I will get this same error on any assets inserted by fck.
How can I remove the forward slash ?
Thanks
On my development machine all images inserted by fckeditor display, now that I've uploaded the website to the production server, images inserted by fck do not display. The problem is to do with fck editor adding a forward slash at the beginning of the url.
i.e.
src="/userfiles/image/pages/library_image(1).jpg"
i presume I will get this same error on any assets inserted by fck.
How can I remove the forward slash ?
Thanks
You can change the path in a config file.
$Config['UserFilesPath'] = '/userfiles/' ;
in \fckeditor262\editor\filemanager\connectors\php\config.php
Re: img forward slash problem
thanks for this..
Unfortunately this now causes another problem, In the editor when I go to insert new images, the image path is now incorrect, and displays a box with no image. How can I fixt this .
Should I actually be removing the forward slash in the first place ? or is this a problem with the server?