My site is a Codeigniter with kcfinder and ckeditor, and my issue is when I try upload and load an image, this image upload correctly in an autocreated folder /assets/kcfinder/.thumbs/images/, but When I select the image from server, the URL is wrong and I can not see it. How can I set the correct path?
相关问题
- Views base64 encoded blob in HTML with PHP
- How to get the background from multiple images by
- CV2 Image Error: error: (-215:Assertion failed) !s
- Replace image attributes for lazyload plugin on im
- How to display an image represented by three matri
相关文章
- Use savefig in Python with string and iterative in
- Where does this quality loss on Images come from?
- Specifying image dimensions in HTML vs CSS for pag
- How to insert pictures into each individual bar in
- How do I append metadata to an image in Matlab?
- Private static variables in php class
- Img url to dataurl using JavaScript
- Click an image, get coordinates
I thing that the problem is that you need to add the base url in your image path
base_url() . 'images/' . $img;
I have solved the problem. In ../assets/kcfinder/config.php I changed:
'uploadURL' from "upload" to Absolute url and in 'uploadDir' from "" to "upload" and it worked!
Thanks anyway.
You can also use below code to set your KcFinder config settings:
More: See Link