After dragging and dropping, the image size is adjusted accordingly in Github issue or pull request.
Problem: When your Take a screenshot and drag and drop the image and copy and paste it into the comment of a github issue or pull request, the image offten shows larger than expected.
Solution: You can resize the image as you like by dragging and dropping.
HowTo:
Take a screenshot and drag and drop the image and copy and paste it into the comment of a github issue or pull request, Then Add query parameters to he image URL.
- github will set a default width of 400 if no width parameter set.
- ![image](https://user-images.githubusercontent.com/26107262/132994209-7b8e5027-e158-443a-9aeb-7647b24b965f.png)
- add a width parameter to the image URL
- ![image](https://user-images.githubusercontent.com/26107262/132994209-7b8e5027-e158-443a-9aeb-7647b24b965f.png?width=300)
- add a height parameter to the image URL
- ![image](https://user-images.githubusercontent.com/26107262/132994283-666d66d3-19db-48fc-8f3f-0258a537c065.png?height=500)
- also add a width and a height parameter to the image URL
- ![image](https://user-images.githubusercontent.com/26107262/132994283-666d66d3-19db-48fc-8f3f-0258a537c065.png?width=300&height=300)