Magento:关于产品图片(小,拇指等)的信息,DB中的位置?

EOB*_*EOB 4 database magento magento-1.4

我试图找到Magento数据库中的位置,它保存有关拇指和小版本等图片的信息.我检查了catalog_product_entity_media_gallery,catalog_product_entity,catalog_product_entity_varchar和catalog_product_entity_media_gallery_value,它不在这些表中.有任何想法吗?我有一个Magento 1.4 DB.

谢谢!

Sar*_*omy 8

Magento将thumb,small_image和大图像名称保存在catalog_product_entity_varchar表格中.

由于Magento正在使用eav架构,因此缩略图,small_image和大图像将存储在表中catalog_product_entity_varchar的参考ID eav_attribute中.

catalog_product_entity_varchar表中,entity_id表示产品ID,并attribute_id表示属性表中的引用ID.

通常属性id为74- image,75- small_image和76- thumbnail.您可以检查eav_attribute表中的相应ID .

例如,如果产品的entity_id为1,

如果我们检查catalog_product_entity_varchar表的值,则相对于属性id 74的值表示其图像,75表示其小图像,76表示其缩略图.

希望能帮助到你..