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.