public static function removeImage($imageId, $cleanup = false)
    {
        Yii::$app->storage->flushArrays();
        $image = Yii::$app->storage->getImage($imageId);
        if ($cleanup && $image) {
            $fileId = $image->fileId;
            foreach (Yii::$app->storage->findImages(['file_id' => $fileId]) as $imageItem) {
                $storageImage = StorageImage::findOne($imageItem->id);
                if ($storageImage) {
                    $storageImage->delete();
                }
            }
        }
        
        $file = StorageImage::findOne($imageId);
        if ($file) {
            return $file->delete();
        }
        
        return false;
    }