By default, admin management panel can be used to upload favicon/site-logo and etc images which are not hooked in the nodebb original source code.
[image: 1693364114784-12f432b1-5e8b-4900-bdbe-6c43b31be510-image-resized.png]
If that's the situation you have to override the default upload behavior, you may have to change the source code. I'll put a simple example below:
source code to change: src/controllers/admin/uploads.js
for example, override the default uploadFavicon behavior with the above plugin:
uploadsController.uploadCategoryPicture = function() {
await upload('favicon', req, res, next);
}