Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
749 views
in Plugins by
Hi! Where images are stored CKEditor WYSIWYG? In which folder?

1 Answer

+4 votes
by
selected by
 
Best answer

When attaching an image to a post using the CKEditor you have to click the "Send it to the Server" button. That process sends the image and stores it, by default, in the database (in the qa_blobs table). You can configure Q2A to store the images in a directory of your choice by modifying the qa-config.php file: https://github.com/q2a/question2answer/blob/b0f03e08badc68fa950d615e6450292fa1af6e9b/qa-config-example.php#L85

If you mean where the toolbar images (like bold, underline, etc) are located, you can find them inside qa-plugin/wysiwyg-editor/ckeditor/plugins. There are 2 files: icons hidpi.png and icons.png. There might also be images inside the CKEditor plugin's directories, e.g. qa-plugin/wysiwyg-editor/ckeditor/plugins/smiley/images.

by
Yes, I meant those that are uploaded to the server when the image is attached. To remove them, do I need to do this via the database? Not front end?
by
Q2A on it's own does not provide any way to browse the uploaded images. Doing it from the database directly is a good option. However, q2apro created this plugin that might be of help to you https://github.com/q2apro/q2apro-uploadmanager
by
Thank! and further 12 characters)
...