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
I've had this years ago in twill but can't remember what the fix is. I'm using twill 2.x on a site and it produces this whatever the size/res of the image I upload.
I believe I have image paths configured in the config of twill.
If I add debug in the MediaLibraryController.php file I see that $uploadedFile has a valid uri to a temp file. However when at line 179 it has the function path() run over it, in testing running $uploadedFile->path() returns nothing.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've had this years ago in twill but can't remember what the fix is. I'm using twill 2.x on a site and it produces this whatever the size/res of the image I upload.
I believe I have image paths configured in the config of twill.
If I add debug in the MediaLibraryController.php file I see that $uploadedFile has a valid uri to a temp file. However when at line 179 it has the function path() run over it, in testing running $uploadedFile->path() returns nothing.
177: $uploadedFile = $request->file('qqfile');
178:
179: list($w, $h) = getimagesize($uploadedFile->path());
Beta Was this translation helpful? Give feedback.
All reactions