private function _resizeImage(&$image, $width, $height)
{
// Calculate the missing width/height for the asset - ensure aspect ratio is maintained
$dimensions = ImageHelper::calculateMissingDimension($width, $height, $image->getWidth(), $image->getHeight());
$image->resize($dimensions[0], $dimensions[1]);
}