$images = ['
https://hostname/image-1.jpg', '
https://hostname/image-2.jpg', ... '
https://hostname/image-1800.jpg'];
$ch = curl_init($images[0]);
$fp = fopen("./images/{$i}", 'wb'); // сохраняю на свой сервак картинку
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);