VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: peaceandlove on March 21, 2016, 08:32:34 AM

Title: Unalbe to upload large files?
Post by: peaceandlove on March 21, 2016, 08:32:34 AM
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?
Title: Re: Unalbe to upload large files?
Post by: Ghost on March 21, 2016, 08:58:15 AM
You could also be running out of memory when creating thumbs.
Title: Re: Unalbe to upload large files?
Post by: peaceandlove on March 21, 2016, 10:00:09 AM
Whats the solution? to upload large files
Title: Re: Unalbe to upload large files?
Post by: GJC Web Design on March 21, 2016, 22:26:25 PM
increase your available memory if that is the problem.. I use a min of 256MB for my builds
Title: Re: Unalbe to upload large files?
Post by: jenkinhill on March 21, 2016, 23:21:10 PM
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
Title: Re: Unalbe to upload large files?
Post by: UpchurchMedia on July 04, 2016, 23:13:43 PM
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.
Title: Re: Unalbe to upload large files?
Post by: GJC Web Design on July 05, 2016, 10:54:24 AM
for a fast loading website this should be a general policy anyway.. 
Title: Re: Unalbe to upload large files?
Post by: Studio 42 on July 05, 2016, 12:36:09 PM
Or simply use FTP to upload, this have, most of time, no limits.