protected function addImagesData(Ess_M2ePro_Model_ListingsProducts $listingProduct, array &$requestData) { $requestData['images'] = array('gallery_type' => $listingProduct->getListingTemplate()->getGalleryType(), 'images' => $listingProduct->getImagesForEbay()); }