Hello, lately products by automatic action Webasyst API / Import products come to the box without a photo. The photo format for the site has not been changed. What could be the reason?
Hello, lately products by automatic action Webasyst API / Import products come to the box without a photo. The photo format for the site has not been changed. What could be the reason?
For some reason, custom names for photos are formed for you. By default, we are trying to take a photo from the link: /wa-data/public/shop/products/31/75/7531/images/88788/88788.970.jpg and you have it in: /wa-data/public/shop/products/31/75/7531/images/88788/shtory-i-tyul-5086.750.jpg from the difference as far as I understand shtory-i-tyul-5086 and the size is 750 (or is it part of the url). In any case, you need several such examples to understand how exactly the names of such photos are formed and access to the database + a link to phpmyadmin to see where this photo name lies. It will take about 2 hours to finalize the import for your format.
For some reason, custom names for photos are formed for you. By default, we are trying to take a photo from the link:
/wa-data/public/shop/products/31/75/7531/images/88788/88788.970.jpg
and you have it in:
/wa-data/public/shop/products/31/75/7531/images/88788/shtory-i-tyul-5086.750.jpg
from the difference as far as I understand shtory-i-tyul-5086 and the size is 750 (or is it part of the url).
In any case, you need several such examples to understand how exactly the names of such photos are formed and access to the database + a link to phpmyadmin to see where this photo name lies. It will take about 2 hours to finalize the import for your format.
Thank you! Now there are two types of photo names on the site: 1) for older products /88788.970.jpg - were generated by webasyst with the image_id parameter. 2) for newer /shtory-i-tyul-5086.750.jpg - where "shtory-i-tyul-5086" is the original name of the uploaded photo from the image_filename field in the database, 750 - yes, this is the size (the webasyst setting "Use original names is enabled files")
Thank you! Now there are two types of photo names on the site:
1) for older products /88788.970.jpg - were generated by webasyst with the image_id parameter.
2) for newer /shtory-i-tyul-5086.750.jpg - where "shtory-i-tyul-5086" is the original name of the uploaded photo from the image_filename field in the database, 750 - yes, this is the size (the webasyst setting "Use original names is enabled files")
Fokin Vladimir Sergeevich Client wrote: shtory-i-tyul-5086.750.jpg
But how can I understand this name for a photo for a specific product, having only access to the database? Can you screenshot the image_filename for this product from the database, is it stored there with .750?
[quote]
Fokin Vladimir Sergeevich
Client wrote:
shtory-i-tyul-5086.750.jpg
[/quote]
But how can I understand this name for a photo for a specific product, having only access to the database? Can you screenshot the image_filename for this product from the database, is it stored there with .750?
For example, for a product on the website https://lanita-shtor.com.ua/product/7531/ which was discussed above. The size 750 is not stored in the database. The link is formed from the database values The size is added to the photo name in the theme template
For example, for a product on the website https://lanita-shtor.com.ua/product/7531/ which was discussed above. The size 750 is not stored in the database. The link is formed from the database values [file]3873[/file] The size is added to the photo name in the theme template [file]3874[/file]
How can I understand the size of your photo based on the data from the first screen? I understand that you can have 1k lines of code written in smarty, but I won’t duplicate it in my action
How can I understand the size of your photo based on the data from the first screen? I understand that you can have 1k lines of code written in smarty, but I won’t duplicate it in my action
You wrote above "By default, we are trying to take a photo from the link: /wa-data/public/shop/products/31/75/7531/images/88788/88788.970.jpg" That is, photos with a size of 970 were initially loaded. Links of the new like, if they are also with a size of 970 "/shtory-i-tyul-5086.970.jpg" - they will have pictures of the appropriate size. I think the size should be specified as the previous one - 970.
You wrote above "By default, we are trying to take a photo from the link: /wa-data/public/shop/products/31/75/7531/images/88788/88788.970.jpg" That is, photos with a size of 970 were initially loaded. Links of the new like, if they are also with a size of 970 "/shtory-i-tyul-5086.970.jpg" - they will have pictures of the appropriate size. I think the size should be specified as the previous one - 970.
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up