I just want to assign product image from remote image url.
One more thing is i can't able to download image in my server because total size of image is : over 1TB
my code is below :
$imageUrl = 'Product image remote url'; $product->addImageToMediaGallery($imageUrl, array('image','small_image','thumbnail','swatch_image'), false, false); $product->save();
using this code i getting "The image does not exist." error.