Antwort #2 am: 09. Februar 2021, 07:54:37
Additianally:
In case you have got external URLs for these images
https://www.domain.tld/images/product_images/original_images + image name from csv file
and you don't want to load them all down manually to afterwards load them up manually to your own environment,
you may copy the images into your folder by using the PHP
copy() function in a small script which you may call from your browser.
Example for a file in the root of your shop:
<?phpinclude('includes/application_top.php');copy('EXTERNAL_URL, DIR_FS_CATALOG.'images
/product_images
/original_images
/')
?> As long as the image names of the external URL follwow a pattern (e.g. img_MODEL_NO.jpg) you can do that in a loop and thus have effectively a bulk upload.
If you will get CSV files for your trading stock regularly it would even be worth to make bigger efforts.
My humble selfI always uses helping database tables to distribute the data in a CSV, meaning creating a table with the structure of the CSV and load the CSV into it by using the LOAD DATA LOCAL INFILE command. Using this helping table it would be much easier to process and distribute the data in chunks to avoid timeouts.
if you are familiar with command line scripts you can do the copying of the images using the
wget.
Cheers,
noRiddle
[
09.02.2021 EDIT GTB: remove Domain]