Update classes/ImageManager.php