Get Thumbnail From Express Entry Image Attribute

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?

Do you want to display thumbnail from “Thumbnails system”?
This should work then (replace “file_manager_listing” with your thumbnail handle).

$cimg->getThumbnailURL('file_manager_listing')

Alternatively, use image helper

$thumb = app('helper/image')->getThumbnail($cimg, 100, 200, true);
echo $thumb->src;
echo $thumb->width;
echo $thumb->height;

Thank you! The image helper was what I needed.