Skip to content

Conversation

bart-webleads
Copy link

When resizing the same file and the requested size is the same as the maximum size, you will get this error:

Uncaught PHP Exception SpoonDirectoryException: "The directory/file (...) couldn't be copied." at spoon/library/spoon/directory/directory.php line 124

When resizing from file1 to file2, and no resize is needed, a file copy is necessary.
But when resizing from file1 to file1, and no resize is needed, the copy function should be skipped.

When resizing the same file and the requested size is the same as the maximum size, you will get this error:

Uncaught PHP Exception SpoonDirectoryException: "The directory/file (...) couldn't be copied." at spoon/library/spoon/directory/directory.php line 124

When resizing from file1 to file2, and no resize is needed, a file copy is necessary.
But when resizing from file1 to file1, and no resize is needed, the copy function should be skipped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant