Kabir Hossain
Sep 9, 2018 · 1 min read

Thanks for your nice tutorial. I have some questions:

  1. According to your code, when you fixed the image width to 318, the image will resize by a ratio, that will make the image height. May be it is undefined to find the height from the width of an image. How to fixed this problem.

2. If I resize the image using laravel intervention package using a width and height, the image looks a bad shape of original image. How can I fixed this.

3. Google analytics says image size needs to reduce after resizing. What is the problem.