-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Update UploadHandler.php (fixed) #3496
Conversation
- fixed indentation - fixed spelling error - restored a commented-out array as example of 'another version' of the image - moved max_width, max_height comments
Improved code based upon comments.
No worries, I don't expect every contributor to be intricately familiar with GitHub. If you want to add changes to an existing pull request, you can simply push additional commits to the branch where you started the pull request from. |
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.
Just one small change request, else I this is ready to be merged.
'max_width' => 80, | ||
'max_height' => 80 | ||
), | ||
*/ |
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 still prefer the existing medium example, but I prefer your more descriptive comment line.
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.
Changed example to 'medium' again, with different width/height than thumbnail.
- example renamed to 'medium', different width/height than thumbnail
'max_width' => 200, | ||
'max_height' => 160 | ||
), | ||
*/ |
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.
Again, please keep the original dimensions for the example.
Changing sample dimensions should only be done if there's a good reason for it.
Thanks @jbostoen ! |
Sorry, I'm still new to Github and couldn't change my previous request, so I forked the project and created this commit.
Based on a use case I've encountered:
Implemented changes based upon comments.