how can I fix resizing iamge problem in wordpress

Solution:

  1. Open xampp control panel.
  2. Start apache and mysql.
  3. Click on config option of apache.
  4. Click on php.ini and open it.
  5. Press Ctrl+F and search “extension=” or “extension=fileinfo”.
  6. On the next line to “extension=fileinfo”, add “extension=gd”.
  7. Save the file.
  8. Stop apache and restart it.