I’m working in 9.4.X and developing custom templates for the Express List block. I would like to display a thumbnail image (for performance reasons, as I have hundreds of entries). I have an image attribute, and currently I have the following code that works for getting the URL of the original image:
$cimg = $entry->getDpImg();
$coverimg = ($cimg) ? $cimg->getRelativePath() : '';
What should I use instead to get a thumbnail version of the selected image?