Hello, @Saira,
Yes, The images are not clear after adding the code because the image size are different as you can see in the image: https://postimg.cc/sM4zKj3C I have removed the CSS code for the width and height of the image so that the images will appear on their actual size and you see images are very small size and some are in big sizes. So that’s why the issue appears.
In order to solve this issue please use the same size images on your site.
Regards 8Themes Team.