I want to show a set of images in a folder, suppose the folder has 100 images and I want to show the first 10 in grid order.
and also having the same size 300x300
If the image is larger than 300x300 rescale.
I have this code but I don't know how to rescale the image to size 300 * 300
from IPython.display import Image
from IPython.display import display
x = Image(filename="/content/workspace/model/SAE_preview_SAE masked.jpg")
y = Image(filename="/content/workspace/model/SAE_preview_SAE masked.jpg")
display(x, y)