How upload images to the server ?

Hallo 
I am new to Litecart and have instaled it on my server . I am now adding products and images , or better try to upload images . At the add a new product I cannot add a image from the server because hitting the upload button leads only to images stored on my computer . I cannot access the  /modellbaustube.com/images/products  directory on my server ? This happens whenever I am hitting   > Datei auswählen < button anywhere in the admin section  .  I am using the latest Litecart version , downloaded from the websile . Thank you very much for any hint .
Daniel

tim

Try doing this using CSV:

123,https://domain.com/directory/image1.jpg;https://domain.com/directory/image2.jpg
124,https://domain.com/directory/image1.jpg;https://domain.com/directory/image2.jpg```

It hasn't been tested but try giving a unix path and see what happens:

```product_id,new_images
123,/home/user/directory/image1.jpg;/home/user/directory/image2.jpg```

Don't upload images straight to images/products as LiteCart will copy them into there. Simply use another folder to copy from.

If you were to do this pragmatically:

```$product = new ent_product(123);
$product->add_image('/home/user/directory/image1.jpg');
$product->add_image('/home/user/directory/image2.jpg');
$product->save();

Hi Tim

Thank you very much for your help !! I am now uploading the images as described , works without any flaws .

q
Tack så mycket

tim

Oh delighting news!
Tack tack :)

عرض الكود على GitHub