I am using file system to save my pictures. I am trying to write the code to upload images in bulk.
At this point I have added a record in the 'Picture' table and 'Product_Picture_Mapping' table.
Also inserted the pictures in "Images" folder and "Thumbs" folder of NopCommerce. Naming convention used is 0000"id in picturetable"_0.jpeg in Images folder EX:0000139_0.jpeg 0000"id in picturetable"_"product name".jpeg & 0000"id in picturetable"_"product name"_75.jpeg in Thumbs Folder EX:0000139_xxxxx.jpeg & 0000139_xxxxx_75.jpeg
However after making all these changes the image doesn't show for the product.
I would really appreciate it if someone can help me with this issue.
I have "0x" in the PictureBinary field and "image/jpeg" in the MimeType. Also I have mapped the pictureId and ProductId in the Product_Picture_mapping.
The picture doesn't show for the product, it says "No Image Available".
I have "0x" in the PictureBinary field and "image/jpeg" in the MimeType. Also I have mapped the pictureId and ProductId in the Product_Picture_mapping.
The picture doesn't show for the product, it says "No Image Available".
I am having the exact same problem. Were you able to solve the issue, and how did you solve it?
But it doesn't work when I upload image and insert into the database through classic ASP.
If you're using custom code to upload images, just check all aspect things:
- Product picture record available to Product_Picture_Mapping table. - Picture available in Picture table. - And uploaded picture file name should be {picture id in 0000000 format}_0.{extension} format:
But it doesn't work when I upload image and insert into the database through classic ASP.
If you're using custom code to upload images, just check all aspect things:
- Product picture record available to Product_Picture_Mapping table. - Picture available in Picture table. - And uploaded picture file name should be {picture id in 0000000 format}_0.{extension} format: