0

How can I solve the error, images import successfully and images saved into catalog/product/desired folder, but images not shown front end backend. Images imported by using MAGMI.

enter image description here

0

Possible reason 1: You have wrong permissions on your /media/ folder.

Ensure you have writable permissions on this folder. Change permissions to 777 recursively. You can do it using SSH via this command (execute it in Magento directory):

Change ownership of the /media/ folder:

chmod -R 777 media/

Possible reason 2: Magento cannot resize images due low PHP memory limit. Magento resize images using GD library, however if there is no sufficient amount of memory for such operation Magento will return a placeholder image.

Increase your memory limit. You should open your .htaccess file and find this string:

 php_value memory_limit 512M

Possible reason 3 : Uploader file

To fix this issue you had to revert change the permissions to more realistic values, 775 for folders and 644 for files. These can be changed here;

lib/Varien/File/Uploader.php

line 219, change 0640 to 0644 line 541, change 0750 to 0755

  • media permissions = 777, php_value memory_limit 99999M, Uploader.php = 777, still not working. Actually i am try to access imags from other server using magmi – zus Sep 13 '17 at 12:42
  • After your correction, still not working... – zus Sep 13 '17 at 12:58
  • @zus Are you importing all the images from magmi using csv? – Raghav Sep 13 '17 at 13:18
  • yes, i am importing all images from magmi by remote like another server. my CSV: snag.gy/2oPART.jpg – zus Sep 14 '17 at 5:32
  • @zus Check this magento.stackexchange.com/questions/11309/… – Raghav Sep 14 '17 at 5:46
0

I'm unable to comment but I would suggest opening the image location directly in your browser or viewing the console to see if it gives you an exact error code to help rectify your issue.

For example if you're seeing an error message like the below it's likely permissions as Raghav mentions.

Failed to load resource: the server responded with a status of 403 (Forbidden)

  • In console, there is no error, like empty page : snag.gy/CXje2T.jpg – zus Sep 13 '17 at 12:52
  • @zus How acount if you go directly to the image location in your browser? Also, does it work OK without using Magmi? – Shaun Newrick Sep 13 '17 at 12:57
  • Make sure i am imported images accessing from another server like remote using magmi. – zus Sep 13 '17 at 13:03
  • console error: snag.gy/haNQkx.jpg – zus Sep 14 '17 at 6:37
  • @zus The console mentions URL's which may contain credentials are depreciated, is this potentially the issue? I.e. are your images stored on a different server to your website (from what I understand) and is that webserver protected with authentication which your website may not be able to display? Perhaps a different browser may allow that depreciation if that is the case? – Shaun Newrick Sep 14 '17 at 7:52
0

This issue occurred usually the file encoding. Switching from ANSI to UTF-8 resolved it. Magento says import successful, and the query logs showed movements.

You must have next fields in CSV

sku   _attribute_set  _type   _category   description image   name    price   short_description   status  tax_class_id    thumbnail   visibility  weight  qty _product_websites   is_in_stock

Please note that field is_in_stock is mandatory even if qty more than 1.

  • I tried UTF-8 also, still not working, and make sure i am imported product images using MAGMI and accessing another server. – zus Sep 13 '17 at 13:01
  • @ zus Magmi, Magmi supports both local image & remote image import from URLs. it also supports image gallery to associate multiple images with a product All image import is done by using Image attributes processor:- wiki.magmi.org/index.php/Image_attributes_processor – Abhinav Singh Sep 14 '17 at 12:27
0

Take look on following step:

Step 1- Give media folder permission chmod -R 777 media/*

Step 2- Check .htaccess file present in media folder or not . If not upload .htaccess file in media folder copy from any local magento directory.

Hope this would help you out , Step 2 is strongly recommended.

  • Media folder already have .htacess file. – zus Sep 14 '17 at 5:30
  • all images file size 0, may i know why... – zus Sep 14 '17 at 6:28
  • console error: snag.gy/haNQkx.jpg – zus Sep 14 '17 at 6:37

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.