I read several posts but none of them has been useful. When I try to upload an product image, the uploader starts and goes up to 100% but then it turnes red, the image is not uploaded. If I try to upload the image not from product but from page, the upload seems to go fine but then the image is not shown in the folder and if I check the folder with filezilla I can see that the image is not there (so it's not been uploaded). Both ways, no error is shown, system and exception logs shows nothing. Magento version is, php is version 5.6 and gd is enabled. Permsision and user/group are correct.

Can anyone help me please?

  • Have you check you system.log enable from admin? Also check console when you try to upload the image. Jan 10, 2018 at 10:53
  • I found the issue: it's a plugin (page builder from venus) that's causing the issue. If I disable the plugin, the uploader works fine
    – Lounik
    Jan 10, 2018 at 11:44

1 Answer 1


When You upload the image from admin panel there can be an issue of Adobe plugin that is installed on your browser mainly in Filezilla.

When you upload the image from the page be sure it is placed in the correct path as the product images come from the media/cache folder.

Try like this:

$filePath = $importDir.$fileName;
if (file_exists($filePath)) {
    $ourProduct->addImageToMediaGallery($filePath, array('image', 'small_image', 'thumbnail'), false, false);
    echo "done ";

Try to clear cache and run Flush Catalog Images Cache in Admin

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.