How to install ckeditor uploader ?
uploader like this image
CKEditor is JavaScript application which doesn't upload files by itself. You need a file uploader like CKFinder (not free), custom file uploader or your own uploader.
Please also see docs for more details:
https://docs.ckeditor.com/ckeditor4/docs/#!/guide/dev_file_browse_upload
Related
How to create a thumbnail with a special path and file name on CKFinder 3?
Currently, I am using CKFinder 3.5.3 PHP with a PrivThumbPregenerator plugin.
By default, CKFinder creates thumbnails in [thumbnail path]/api.png/api__150x150.png, [thumbnail path]/api.png/api__300x300.png, and so on if I upload api.png image.
How to create a thumbnail in a custom location, such as [thumbnail path]/150x150/api.png, [thumbnail path]/300x300/api.png, and etc.?
I am new to laravel file manager and I'm developing a blog using tinymce5 and this package.
Everything works just fine. But...
The problem:
The problem is that none of the uploaded images are being shown. neither in file manager "when it's uploaded" nor in the blog.
image is not shown in file manager :
What I have done:
Well the problem is caused by the image url. The url is the url below:
http://localhost/storage/photos/maxresdefault.jpg
When I changed it to:
http://127.0.0.1:8000/storage/photos/maxresdefault.jpg
everything worked fine.
The Question is:
Is there any way to force laravel file manager to save image urls using "127.0.0.1:8000" instead of "localhost"?
Or is there any way to load images using a more efficient method?
I am using ckeditor latest version and full package in sailsjs. I am using file browse from server functionality.
//ckeditor/config.js
CKEDITOR.editorConfig = function( config ) {
config.filebrowserBrowseUrl = '/files';
};
There is many images in assets/files folder. When i click on browse server then one new tab is opening and url is http://example.com/files?CKEditor=ck&CKEditorFuncNum=1&langCode=en
But i am getting default not found screen. But if i access image from url like http://example.com/files/ok.png. I Can see it in browser. But if i request http://example.com/files . I need to see list of images from files folder. What i need is the following or something file browser.
The screen you provided shows CKFinder file manager, which can be easily integrated with CKEditor. CKFinder to work requires a server side connector - unfortunately, for now there's no connector for node.js.
You may find CKEditor File Browser API helpful, as it allows to integrate any other file browser. See this answer for a basic usage in sails.js.
I have written a plugin for my DjangoCMS site, part of which is displaying a picture uploaded during configuration.
I can see the pictures stored in the servers Media folder. I want for the user to be able to browse from the already uploaded images in addition to being able to select their own for upload.
I have no idea where to start with this!
There's a plugin that does exactly that: https://github.com/stefanfoulis/cmsplugin-filer
I have problem with tinyMCE. If I add image from external url (http://www.somesite.com/image.jpg) all works perfect and and the image will show in my text. But if I add an image from a folder on server, the image will not show because I use htaccess to rewrite the url.
Web domain: www.web.domain.com
If I insert image from www.web.domain.com/images/img.jpg and show this text on the page www.web.domain.com/en/Category-1/, the image doesn't show because tinyMCE adds img src as "./images/img.jpg"
Any idea if it is possible to turn this off?
Probably due to TinyMCE using relative URLs by default. Check out the FAQ entry on the TinyMCE site for the various settings that might help.