0
제품에 대한 URL (이미지 갤러리에있는 모든 것들, 작은/미리보기 이미지)을 가져 오기 위해 쿼리를 검색했습니다. 이 쿼리를 찾았습니다Magento 데이터베이스의 모든 이미지 가져 오기
select * from catalog_product_entity_media_gallery AS mg, catalog_product_entity_media_gallery_value AS mgv, catalog_product_entity_varchar AS ev WHERE mg.value_id =mgv.value_id AND mg.entity_id = ev.entity_id AND ev.attribute_id IN (85,86,87) AND mgv.position = 1
그러나 이것은 magento 1.4에서는 작동하지 않습니다. 어떤 도움을 주셔서 감사합니다.
당신은 필드 값이 당신에게 예 : C 이미지의 특정 경로를 표시합니다
select * from catalog_product_entity_varchar
where entity_id = 20 /*Optional your attribute*/
and attribute_id = 86 ;/*small image*/
작은 이미지 경로를 얻을 예를 들어 시도 할 수
안녕하세요, 제품 skus (갤러리 이미지, 작은/미리보기 이미지)로 Magento에 업로드 된 모든 이미지를 요청합니다. 우리가 위대한 이미지 URL을 얻을 수 있다면 –