We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

1

Please add this to your Standalone script. foreach (new DirectoryIterator('./descr_images') as $fileInfo) { if ($fileInfo->isDot()) { continue; } $imagePath = $fileInfo->getFilename(); // path of the image $filesystemIo = $objectManager->create('\Magento\Framework\Filesystem\Io\File'); $filePath = ''; // Path of your ...


Only top voted, non community-wiki answers of a minimum length are eligible