INSERT INTO `catalog_product_entity_media_gallery` (
value_id, 
attribute_id, 
entity_id, 
value
) VALUES (
'', 
88, 
<@KEY@>, 
'<@DEST@>' 
);
@@GO@@
replace INTO `catalog_product_entity_media_gallery_value` (
value_id 
,store_id , label,position,disabled
) VALUES (
LAST_INSERT_ID(),0,'',1,0
);
@@GO@@

