What you could try is:
$image = new File($item->images(), f::safeName($imageName) . '.jpg');
This creates a full file object that also supports generating thumbnails.
What you could try is:
$image = new File($item->images(), f::safeName($imageName) . '.jpg');
This creates a full file object that also supports generating thumbnails.