How can you change the thumbnail size displayed for images in a shared directory

This is an example. I would like to display larger and in the same aspect ratio is the file.