News:

Looking for documentation? Take a look on our wiki

Main Menu

Issue with thumbnails creation

Started by Avexa, November 16, 2015, 09:56:21 AM

Previous topic - Next topic

Avexa

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.

GJC Web Design

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ß
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Avexa

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).


GJC Web Design

Quote54MB

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

WHAT?????????????????  100KB would be big!!!!!!!!!!!!
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Avexa

I owe the explanation - all 900 images have 54 MB...The biggest one have 3M, most of them are less then 100 kB.

GJC Web Design

what happens if you just try to add an image via the normal product interface?

but 3Mb is just silly...  for a single image
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Avexa

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?

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/