Check out example codes for "github screenshots resize". It will help you in understanding the concepts better.

Code Example 1

![test image size]<img src="https://fullpath/assets/yourgif.gif" width="400" height="790">

Learn ReactJs, React Native from akashmittal.com