'[* ]' => '',
'[/* ]' => '',
Add this line below:
'[img]' => '',
'[/img]' => '',
Next, search this line:
// Спойлер
Add this line below:
'img' => [
'from' => '#\[img](.+?)\[/img]#is',
'to' => '<center><img src="' . $homeurl . '/system/resize.php?image=$1" alt="IMG" /></center>',
], //IMG
Final, upload the attachment and unzip it to system