-
Notifications
You must be signed in to change notification settings - Fork 61
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
imagejpeg(/1/4/original.jpg): failed to open stream: Is a directory #63
Comments
The GalleryBehavior class has been refactorized and createFolders method has a bug. Due to the normalizePath method, the createDirectory method understands the file name as a folder and create the folders with the 'file/to/path/image.jpg' path instead of 'file/to/path'. If you override createFolders method from GalleryBehavior class, it works fine. For example:
|
Hi, can you create pr with your fix? |
Hi, |
thanks, merged it 👍 |
I am facing a strange behaviour of the extension! original.jpg is being created as a directory and I got the error below when trying to upload
The text was updated successfully, but these errors were encountered: