Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move crop image into formvalidator and the file class to avoid doubles
- Loading branch information
Showing
10 changed files
with
113 additions
and
388 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
af16493
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's weird... it looks like JPG images are not accepted for user pictures anymore (but they are accepted for courses). I have sent some changes as well (to maintain the ratio flexibility because users are 1/1 and courses are 16/9) but I can't find what the issue is, exactly (this issue happened before my changes).
Do you know anything about what might cause this?
af16493
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Picture upload stop working because of this:
554c806
af16493
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Err... OK :-/
My change was right, though, but there's probably something more somewhere, that I can do. To be precise, picture uploads work perfectly with .png and .jpg for courses, but for users only .png works.
af16493
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't say it was not ok. But for my installation the user upload was working. Now it doesnt work with any images jpg, JPG.
af16493
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Problem is with a user that never had an image before.