1

我为我的 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,
    ],
],

而且我尝试了很多次使扩展程序在网络文件夹之外创建文件夹,但总是无法正常工作,有人可以帮我吗?

4

1 回答 1

1

我找到了移动目标的方法,你所要做的就是在配置文件中制作链接快捷方式,并在参数文件中使用它,你也可以直接在作曲家文件中修改模型

于 2017-08-28T08:16:05.253 回答