Skip to main content

Why are my Magento listings missing images?

Magento 2 images need the Listing image cache path set to /media/catalog/product and a Small image on each product.

SKULabs imports one image for each Magento listing. Items and order lines show the image of their linked listing, so when a listing has no image, that product shows no image anywhere in SKULabs.

Magento 2 listings missing images

SKULabs reads the product's small_image attribute (the Small Image role in Magento). Magento sends only the file path, for example /p/i/pink-cones.jpg. SKULabs builds the full image address from three parts: your store URL, the Listing image cache path setting, and that file path.

If the Listing image cache path is empty, the address is missing Magento's media folder and the image does not load. For example:

  • Without the setting: https://www.yourstore.com/p/i/pink-cones.jpg (not found)

  • With the setting: https://www.yourstore.com/media/catalog/product/p/i/pink-cones.jpg (works)

Fix: set the Listing image cache path

  1. Go to Settings > Stores, find your Magento 2 store and click Edit.

  2. In Listing image cache path, enter /media/catalog/product. Start with a slash and leave off the slash at the end.

  3. Save the store.

  4. Run a listings sync for the store. See How to run listings sync for your stores.

After the sync, the images show on your listings, items and order lines.

To check the right path for your store, open any product image on your website in a new browser tab. The part of the address between your domain and the file name folders (usually /media/catalog/product) is the value to enter. The images must be served from the same domain as your store connection in SKULabs.

Products without a Small Image

SKULabs only reads the Small Image role. A product with no image assigned to that role imports with no image. To assign it in Magento admin:

  1. Open the product and go to Images And Videos.

  2. Click the main image and tick Small Image under Role.

  3. Save the product, then run a listings sync in SKULabs.

For many products, set the small_image column in a Magento product import CSV instead of editing each product.

The address is right but the image still doesn't show

Paste the image address into a new browser tab. If it loads there but not in SKULabs, your server or CDN may block images from showing on other websites (hotlink protection). Ask your Magento admin to allow your product images to load on app.skulabs.com.

Magento 1

SKULabs uses the image address Magento sends for the product. If there is none, it uses the first image in the product's media gallery. No setting is needed.

Did this answer your question?