News:

Support the VirtueMart project and become a member

Main Menu

Unalbe to upload large files?

Started by peaceandlove, March 21, 2016, 08:32:34 AM

Previous topic - Next topic

peaceandlove

Our files are more then 2 MB, when we try to upload images of prodcuts of such size like 5000 x 3650 or similar our vm product adding page at backend get corrupted and we had to delete that image first, also media files page get corrupted, as soon as we delete that image, it start working

If we upload smaller images like 1000*750 it work fine so what can be issue.

if it php limite , our joomla upload limit is 10 MB , is there any extra php upload limit we can set?

Ghost

You could also be running out of memory when creating thumbs.

peaceandlove

Whats the solution? to upload large files

GJC Web Design

increase your available memory if that is the problem.. I use a min of 256MB for my builds
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

jenkinhill

I generally use these settings in php.ini:
; Resource Limits ;
max_execution_time = 120
memory_limit = 256M

; File Uploads ;
upload_max_filesize = 32M

post_max_size = 32M
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

UpchurchMedia

Ran into the very same problem. I resolved my issue by opening up my pic in photoshop, choosing image size, and lowering the resolution to 1/3rd or 1/6th the previous resolution without degrading the image. Hope this helps.

GJC Web Design

for a fast loading website this should be a general policy anyway.. 
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

Studio 42

Or simply use FTP to upload, this have, most of time, no limits.