Provide multiple sizes for the images
Maybe use https://cloudinary.com/documentation/resizing_and_cropping.

At least provide a thumbnail and the original size, which will allow using https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture to separate: the small images in the table from the original image which is shown when clicking on a thumbnail.
Provide multiple sizes for the images: Maybe use https://cloudinary.com/documentation/resizing_and_cropping.

At least provide a thumbnail and the original size, which will allow using https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture to separate: the small images in the table from the original image which is shown when clicking on a thumbnail.