-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imageUpload #66
Comments
Hi @AmadouD , |
Hi @vova07 thank for your reponse its help me a lot !! he is my ofrresController
}` and my _form |
Not sure if that is a typo or not, but the problem I see is that 'imageUpload' option must be a key of 'settings' array not 'plugins'. Try to fix that to see the result. Sorry for missed exemple, writing from smartphone. |
after putting the Url::to(['/offres/image-upload']) outside the plugins |
what do you mean about default controller; i have to create a new controller under the extention
or i have to put this
public function actions()
{
return [
'image-upload' => [
'class' => 'vova07\imperavi\actions\UploadAction',
'url' => 'http://my-site.com/images/', // Directory URL address, where files are stored.
'path' => '@alias/to/my/path' // Or absolute path to directory where files are stored.
],
];
}
to my form controller .
i tried the second one but giving me # url unknow
please give somme explanation about uploading file and image;
sorry for my bad english
The text was updated successfully, but these errors were encountered: