Categories


Archives


Recent Posts


Categories


No Product Images in Admin

astorm

Frustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it.

Updated for Magento 2! No Frills Magento Layout is the only Magento front end book you'll ever need. Get your copy today!

Magento Version: 1.5.0.1

We’d just done a simple product import, and everything in the front end of the cart looked fine. There was one problem. When we browsed to the admin, no images showed up in the Catalog -> Manage Products -> Images.

It turns out that the catalog/product object has a few redundancies when it comes to images. Magento’s central image helper will pull file names from attributes like image and thumbnail, but there’s an additional image storage attribute called media_gallery, which stores a copy of of information found in the other attributes. (default storage for

The admin pulls its image information from the media_gallery. We’d done a simple import rather than use a full dataflow profile. The dataflow profiles uses the catalog/product model’s addImageToMediaGallery method to ensure the image information in kept in sync.

Copyright © Alana Storm 1975 – 2023 All Rights Reserved

Originally Posted: 12th June 2011

email hidden; JavaScript is required