You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am implementing an admin panel using CodeIgniter 4. I have a section where the user uploads slider images. I have the following code for the user upload:
If I use it like this and upload a 1920x897 image it works fine. But, if I change the 1919 to 1920 the scripts throws out an error that the folder is not writable.
CodeIgniter\Images\Exceptions\ImageException
Unable to save the image. Please make sure the image and file directory are writable.
This is literally the only difference. The original image I am uploading is 1920x897.
CodeIgniter 4 version
4.0.3
Affected module(s)
Image library
Context
OS: Windows 10 x64 Enterprise 1909
Web server: Apache/2.4.25 (Win64)
PHP version: 7.3.3
The text was updated successfully, but these errors were encountered:
mihail-minkov
added
the
bug
Verified issues on the current code behavior or pull requests that will fix them
label
Jun 22, 2020
Would you be able to check this using CI4-dev? I think it might be something related to the reorient() method which was updated in the development branch recently.
Another option would be to remove the reorient() method only to check if the problem persists.
Describe the bug
I am implementing an admin panel using CodeIgniter 4. I have a section where the user uploads slider images. I have the following code for the user upload:
If I use it like this and upload a 1920x897 image it works fine. But, if I change the 1919 to 1920 the scripts throws out an error that the folder is not writable.
This is literally the only difference. The original image I am uploading is 1920x897.
CodeIgniter 4 version
4.0.3
Affected module(s)
Image library
Context
The text was updated successfully, but these errors were encountered: