I am writing a function to access product data and I want to export the product thumbnail images since sometime the main image is very big and heavy. How can i get access to the thumbnail path ?
Below is the code i am using to access the product data but cant find the thumbnail image path in it.
list($products, $search) = fn_get_products($params, 3000); fn_gather_additional_products_data($products, array('get_icon' => false, 'get_detailed' => true, 'get_additional' => true, 'get_features' => true,'get_extra' => false, 'detailed_params' => false, 'get_options'=> true));
I am only getting this info
[main_pair] => Array ( [pair_id] => 35270 [image_id] => 0 [detailed_id] => 35283 [position] => 0 [detailed] => Array ( [image_path] => https://dee88m54u9jlgs.cloudfront.net/images/detailed/35/PO-749.jpg?t=1441866154 [alt] => Product Name [image_x] => 1200 [image_y] => 1800 [http_image_path] => http://dee88m54u9jlgs.cloudfront.net/images/detailed/35/PO-749.jpg?t=1441866154 [absolute_path] => /home/server/public_html/images/detailed/35/PO-749.jpg [relative_path] => detailed/35/PO-749.jpg )