Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Where images are stored CKEditor WYSIWYG?

0 votes
asked Jan 3 in Plugins by Alex1
Hi! Where images are stored CKEditor WYSIWYG? In which folder?

1 Answer

+4 votes
answered Jan 3 by pupi1985
selected Jan 5 by Alex1
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.

commented Jan 4 by Alex1
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?
commented Jan 4 by pupi1985
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
commented Jan 5 by Alex1
Thank! and further 12 characters)