我为我的 yii2 应用程序使用 noam 图像管理器 https://github.com/noam148/yii2-image-manager
在组件中,他们告诉我把这个
'components' => [
'imagemanager' => [
'class' => 'noam148\imagemanager\components\ImageManagerGetPath',
//set media path (outside the web folder is possible)
'mediaPath' => '/path/where/to/store/images/media/imagemanager',
//path relative web folder to store the cache images
'cachePath' => 'assets/images',
//use filename (seo friendly) for resized images else use a hash
'useFilename' => true,
//show full url (for example in case of a API)
'absoluteUrl' => false,
],
],
而且我尝试了很多次使扩展程序在网络文件夹之外创建文件夹,但总是无法正常工作,有人可以帮我吗?