TB.One > Media > Providing and Managing Media via Import > Adding Media via Import (Keeping Existing Media)
In contrast to the example here, "pic2" should be kept and a new, higher resolution image "pic2_new" should be added to the two red variants as an additional article image.

Check whether the import setting for deletion of no longer delivered media is active or inactive, because this determines whether a Delta import can be used or a full import is necessary.
Option 1: Media that are no longer delivered are not deleted (according to Import Settings)
ARTICLE_URL_new_20150413_1109.csv:

TBCAT_URL_new_20150413_1109.xml:
<TBCATALOG> <PRODUCTDATA> <PRODUCT> <P_NR>9532</P_NR> <ARTICLEDATA> <ARTICLE> <A_NR>95321</A_NR> <A_MEDIADATA> <A_MEDIA type="image" sort='1'>http://www.server-xy.com/pic2_new.jpg</A_MEDIA> </A_MEDIADATA> </ARTICLE> <ARTICLE> <A_NR>95322</A_NR> <A_MEDIADATA> <A_MEDIA type="image" sort='1'>http://www.server-xy.com/pic2_new.jpg</A_MEDIA> </A_MEDIADATA> </ARTICLE> </ARTICLEDATA> </PRODUCT> </PRODUCTDATA> </TBCATALOG> |
ARTICLE_ZIP_new_20150413_1109.csv:

TBCAT_ZIP_new_20150413_1109.xml:
<TBCATALOG> <PRODUCTDATA> <PRODUCT> <P_NR>9532</P_NR> <ARTICLEDATA> <ARTICLE> <A_NR>95321</A_NR> <A_MEDIADATA> <A_MEDIA type="image" sort='1'>sync/media/pic2_new.jpg</A_MEDIA> </A_MEDIADATA> </ARTICLE> <ARTICLE> <A_NR>95322</A_NR> <A_MEDIADATA> <A_MEDIA type="image" sort='1'>sync/media/pic2_new.jpg</A_MEDIA> </A_MEDIADATA> </ARTICLE> </ARTICLEDATA> </PRODUCT> </PRODUCTDATA> </TBCATALOG> |
Option 2: Media that are no longer delivered are deleted (according to Import Settings)
PANDA_URL_new_20150413_1109.csv:

TBCAT_URL_Full_new_20150413_1109.xml:
<TBCATALOG> <PRODUCTDATA> <PRODUCT> <P_NR>9532</P_NR> <P_MEDIADATA> <P_MEDIA type="image" sort='1'>http://www.serverxy.com/pic1.jpg</P_MEDIA> </P_MEDIADATA> <ARTICLEDATA> <ARTICLE> <A_NR>95321</A_NR> <A_MEDIADATA> <A_MEDIA type="image" sort='1'>http://www.serverxy.com/pic2.jpg</A_MEDIA> <A_MEDIA type="zade" sort='2'>http://www.serverxy.com/pic2_new.jpg</A_MEDIA> <A_MEDIA type="image" sort='3'>http://www.serverxy.com/pic3.jpg</A_MEDIA> <A_MEDIA type="color" sort='4'>http://www.serverxy.com/pic4.jpg</A_MEDIA> </A_MEDIADATA> </ARTICLE> <ARTICLE> <A_NR>95322</A_NR> <A_MEDIADATA> <A_MEDIA type="image" sort='1'>http://www.serverxy.com/pic2.jpg</A_MEDIA> <A_MEDIA type="zade" sort='2'>http://www.serverxy.com/pic2_new.jpg</A_MEDIA> <A_MEDIA type="image" sort='3'>http://www.serverxy.com/pic3.jpg</A_MEDIA> <A_MEDIA type="color" sort='4'>http://www.serverxy.com/pic4.jpg</A_MEDIA> </A_MEDIADATA> </ARTICLE> <ARTICLE> <A_NR>95323</A_NR> <A_MEDIADATA> <A_MEDIA type="image" sort='1'>http://www.serverxy.com/pic5.jpg</A_MEDIA> <A_MEDIA type="image" sort='2'>http://www.serverxy.com/pic6.jpg</A_MEDIA> <A_MEDIA type="color" sort='3'>http://www.serverxy.com/pic7.jpg</A_MEDIA> </A_MEDIADATA> </ARTICLE> </ARTICLEDATA> </PRODUCT> </PRODUCTDATA> </TBCATALOG> |
PANDA_ZIP_new_20150413_1109.csv:

TBCAT_ZIP_Full_new_20150413_1109.xml:
<TBCATALOG> <PRODUCTDATA> <PRODUCT> <P_NR>9532</P_NR> <P_MEDIADATA> <P_MEDIA type="image" sort='1'>sync/media/pic1.jpg</P_MEDIA> </P_MEDIADATA> <ARTICLEDATA> <ARTICLE> <A_NR>95321</A_NR> <A_MEDIADATA> <A_MEDIA type="image" sort='1'>sync/media/pic2.jpg</A_MEDIA> <A_MEDIA type="zade" sort='2'>sync/media/pic2_new.jpg</A_MEDIA> <A_MEDIA type="image" sort='3'>sync/media/pic3.jpg</A_MEDIA> <A_MEDIA type="color" sort='4'>sync/media/pic4.jpg</A_MEDIA> </A_MEDIADATA> </ARTICLE> <ARTICLE> <A_NR>95322</A_NR> <A_MEDIADATA> <A_MEDIA type="image" sort='1'>sync/media/pic2.jpg</A_MEDIA> <A_MEDIA type="zade" sort='2'>sync/media/pic2_new.jpg</A_MEDIA> <A_MEDIA type="image" sort='3'>sync/media/pic3.jpg</A_MEDIA> <A_MEDIA type="color" sort='4'>sync/media/pic4.jpg</A_MEDIA> </A_MEDIADATA> </ARTICLE> <ARTICLE> <A_NR>95323</A_NR> <A_MEDIADATA> <A_MEDIA type="image" sort='1'>sync/media/pic5.jpg</A_MEDIA> <A_MEDIA type="image" sort='2'>sync/media/pic6.jpg</A_MEDIA> <A_MEDIA type="color" sort='3'>sync/media/pic7.jpg</A_MEDIA> </A_MEDIADATA> </ARTICLE> </ARTICLEDATA> </PRODUCT> </PRODUCTDATA> </TBCATALOG> |