modellbaustube Merchant Alates Austria Liige alates modellbaustube 12 jaan 2022 14:56 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 Founder Alates Sweden Liige alates tim 12 jaan 2022 16:40 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();
modellbaustube Merchant Alates Austria Liige alates modellbaustube 14 jaan 2022 16:37 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