Update ImagesExtension.php