VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Avexa on November 16, 2015, 09:56:21 AM

Title: Issue with thumbnails creation
Post by: Avexa on November 16, 2015, 09:56:21 AM
Hello,
I have issue with thumbnails. I have J3.4.5 and VM3.0.12.  Products have images, but when I tried to recreated thumbs via tools nothing was happened. When i try to show products array, variable $product->images[0]->file_url_thumb is empty, so recreating thumbs is not working I guess.

Also in my virtuemart directory :
components/com_virtuemart/shop_image/product

I found so many files that begin with : tmpForThumb_php????, for example tmpForThumb_phpx8Py9V (and in media view as well)

Any idea how to solve this issue? Thank you in advance.
Title: Re: Issue with thumbnails creation
Post by: GJC Web Design on November 16, 2015, 13:34:08 PM
and no components/com_virtuemart/shop_image/product/resized folder?

Sounds like your server runs out of memory when creating the thumbs.. how big are the originals?  How much memory has the serverß
Title: Re: Issue with thumbnails creation
Post by: Avexa on November 16, 2015, 14:26:48 PM
Thank you for fast reply.

All original images have 54MB (their amount is aprox. 900), resized folder is presented, but empty. I have set memory_limit to 512MB, max_execution_time to 300 and issue is still remaining. Another point is - when I try to reset thumbnails in tools snad migration section, I get message "1" (see image).

Title: Re: Issue with thumbnails creation
Post by: GJC Web Design on November 16, 2015, 14:40:00 PM
Quote54MB

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

WHAT?????????????????  100KB would be big!!!!!!!!!!!!
Title: Re: Issue with thumbnails creation
Post by: Avexa on November 16, 2015, 14:48:42 PM
I owe the explanation - all 900 images have 54 MB...The biggest one have 3M, most of them are less then 100 kB.
Title: Re: Issue with thumbnails creation
Post by: GJC Web Design on November 16, 2015, 14:51:40 PM
what happens if you just try to add an image via the normal product interface?

but 3Mb is just silly...  for a single image
Title: Re: Issue with thumbnails creation
Post by: Avexa on November 16, 2015, 15:10:58 PM
Even when I try to upload new image, no thumb is created.

Im not sure, but I guess it happens with 3.0.12 version. Is it possible?
Title: Re: Issue with thumbnails creation
Post by: Milbo on November 16, 2015, 15:49:03 PM
Disable your template overrides