Product thumbnail images suddenly not available for new products

First of all, I'm using the automatic product image thumbnail generation feature and the default picture feature.

Earlier today I decided to try out additional images for products. They seemed to work fine and I was happy about it. Later on, however, I noticed something strange: for new products, the full size picture is being transferred to the server correctly but it seems like the thumbnail isn't being generated.

The $product_picture1_url$ variable gives me a url similar to this for these new products:

http://myshopname.shop.wosbee.com/filemanager/productpicsthumb/696picture1Upload.png

This, basically, is correct but the file 696picture1Upload.png isn't there (I get a 404 page).

The $product_picture1$ variable gives me a piece of html code, similar to this:

<img alt="Ei kuvaa" border="0" src="http://myshopname.shop.wosbee.com/filemanager/productpicsthumb/696picture1Upload.png">

Here's something strange. The image tag gets alt attribute with text "Ei kuvaa" which is my alternative text for the default picture. And, of course, because the file isn't there, I can't see the product image.

I must repeat myself: the full size version of the picture is there, I can open it through the product management. Url to the full size version is similar to this:

http://myshopname.shop.wosbee.com/filemanager/productpics/696picture1Upload.jpg

All is fine with old products, problems seem to show up when I'm adding new products or changing images for old products.

I do have a large amount of products in my shop but nowhere near 10.000. My webshop theme files make about 4 MB so there's a long way to 100 MB, and product pictures aren't taking that much either. One of my ideas was that maybe there is a limitation of some kind with the number of product thumbnail images - is there? What's going on in here?

Thank you.


thumbnails generation error

irinav's picture

Hi,

thanks for writing this report!
Can you describe in details what steps do you do when this error appear and what settings have you used(uploaded picture number, settings on product picture settings page, is this picture number checked as scaled)? Thumbnails generation seems to work for me when adding new product and uploading picture for this product...
There is no limitation on the number of product thumbnails.

--Irina

Thank you for your answer.

Thank you for your answer. Here we go.

Information about my shop:
- identifier: proh3at (http://proh3at.shop.wosbee.com)
- pictures settings: scaling is on for all pictures, width for Picture 1 is 120 and 400 for the rest, height is empty for all
- default picture for products is on (a local file has been uploaded)
- test product: http://proh3at.shop.wosbee.com/PublishedService?file=page&pageID=9&itemc... (described below)
- test product image number: 791
- product image on the product page is displayed using the variable $product_picture1$

1. Created a new product, automatically assigned itemcode was "product-252". Hit Accept on the General tab in the New product dialog.
2. Changed to Info texts tab, wrote a short description (Info1) and hit Accept.
3. Changed to Pictures and files tab, browsed for a local file (a gif file named "warmeri.gif") and uploaded it as Picture1. Observations:
- The image is displayed correctly on the product page at this point: http://proh3at.shop.wosbee.com/PublishedService?file=page&pageID=9&itemc....
- That is, on the product page, I could see the scaled version and location for the scaled picture was http://proh3at.shop.wosbee.com/filemanager/productpicsthumb/791picture1U....
- In the Workspace, New product dialog, the preview link for Product1 was http://proh3at.shop.wosbee.com/filemanager/productpics/791picture1Upload... and this displayed the original, full version nicely.
4. Browsed for another local file (a jpg file named "milwaukee.jpg") and uploaded it as Picture1, replacing the previous Picture1 picture:
- The new thumbnail image displayed correctly on the product page and the file location was same as before.
- In the New product dialog, Preview link took me to the full size version - all was fine here too.
5. Browsed for yet another local file (a jpg file named "milwaukee2.jpg") and uploaded it as Picture1. This is where the problems came up:
- The product page, http://proh3at.shop.wosbee.com/PublishedService?file=page&pageID=9&itemc..., is still showing the thumbnail version of the previously uploaded file.
- Thumbnail location is http://proh3at.shop.wosbee.com/filemanager/productpicsthumb/791picture1U....
- The Preview link in the New product dialog takes me to the correct full size version of the newest image. Url is http://proh3at.shop.wosbee.com/filemanager/productpics/791picture1Upload....

So, the full size version is there but the thumbnail version isn't being updated. This time all this happened when I uploaded the Picture1 file for the third time.

Original test images (for verification):
- warmeri.gif: http://proh3at.shop.wosbee.com/warmeri.gif
- milwaukee.jpg: http://proh3at.shop.wosbee.com/milwaukee.jpg
- milwaukee2.jpg: http://proh3at.shop.wosbee.com/milwaukee2.jpg

And as a side note, all product thumbnail images seem to have alternate text of the default picture - a bug maybe?

Maybe this information is helpful and gets us forward. Waiting for your answer, thank you for your time.

Hi again! Thanks for

irinav's picture

Hi again!

Thanks for detailed description, it was helpful. So here are two issues we talk about:
1) Product thumbnail is not replaced when replacing product picture.
2) Pictures use default picture alt-text on Product card element, if no alt-text defined for the product picture on product "Pictures and files" page.

Lets start with first one:
1) This issue is already known and the problem appear only if pictures extensions(current picture and picture you want to replace with) are the same. In your case when you tried to replace milwaukee.jpg with milwaukee2.jpg (the same extension) thumbnail was not deleted and was not replaced with new one. When you changed gif picture to jpg, then thumbnail was successfully deleted and replaced with new one.
We are already working with this bug and it will be fixed in new wosbee release at autumn.
For avoiding this problem before wosbee update you can do the following:
- delete old picture with the "Remove" button before uploading new picture, picture removing deletes also picture thumbnail.
- for updating thumbnails you can change sizes for thumbnails on the "Product pictures settings" page. When sizes are changed, then all thumbnails are deleted, and new ones are generated. For example you can define height for picture 1 and then change it back to empty, then all products thumbnails for picture 1 are updated and generated again.

2) It seems that you found a bug. On the Product card element(at least) if no alt-text is defined for the product picture on the "Pictures and files" page, then alt-text for default product picture is used. Default alt-text should be used only with default pictures and default pictures thumbnails.

Thanks for bugs reporting, it helps us to develop better product!
And sorry for inconveniences, related to this bugs.

--Irina

Thank you!

Thank you!

Good to know that the first one is a known problem and is being worked on, and I'm glad I could help with the second one. Thanks for the workarounds, too. Keep up the good work.

(Tried to get pass spam

(Tried to get pass spam check with another, reformatted message but the original came visible almost immediately so removing this. Sorry.)