VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: blackhumor on January 29, 2019, 00:31:46 AM

Title: the image not showing because contains errors"
Post by: blackhumor on January 29, 2019, 00:31:46 AM
After a server reboot many of my images (thumbnails) are not showing in the site.

The message I receive is "the image xxxxxxxxx not showing because contains errors"
This applies in products and categories thumbnails...

Examples
categories http://zografiki.com/ekklisiastika-eidi/ekklisiastika-eidi-oikias/stauroi to http://zografiki.com/images/stories/virtuemart/category/resized/53d288123be13_250x250.jpg
products http://zografiki.com/spiti-kipos/anthi-technita/mpales to http://zografiki.com/images/stories/virtuemart/product/resized/mpala-anthos-ms-mpala-anthos_250x250.jpg

Any idea what is the problem?
Title: Re: the image not showing because contains errors"hhhip
Post by: Jörgen on January 29, 2019, 05:51:24 AM
Directory ownership not correct ?
Jörgen @ Kreativ Fotografi
Title: Re: the image not showing because contains errors"
Post by: diri on January 29, 2019, 12:40:57 PM
Large images are displayed normal but:

The path to images is .../stories/virtuemart/...

Which version of VM are you using?
Did you update PHP?
Title: Re: the image not showing because contains errors"
Post by: jjk on January 29, 2019, 14:37:28 PM
Those images contain no data to display (0 bytes). So there is no file header which the browser or an image editor can read. You will have to delete and recreate those thumbnails or use ftp to upload and overwrite the damaged thumbnail files with good ones.
Title: Re: the image not showing because contains errors"
Post by: blackhumor on January 29, 2019, 22:31:44 PM
Just to help someone that has the same problem...

I delete the thumbnails directory of all the products and the categories thumbnails and then I let the site to re-create the thumbs from the begining
Title: Re: the image not showing because contains errors"
Post by: Milbo on February 11, 2019, 20:13:38 PM
Nice, and there is actually a button for that among the tools section. :-) The problem here imho was the update of the server and some malefunction with the thumbnail function. A deleted thumbnail is automatically restored.