Forum for discussing general topics related to Couch.
6 posts Page 1 of 1
Hi

I am trying to upload a image but it returns a error which I have attached a screenshot showing the issue, I think it is due to the image size as I reduced as it was a large image size, think it was 4000px wide by 2500px if I remember so I reduced it to 750px x 250px and it uploaded fine

I just wanted to confirm that it is the image size that was the issue or if there is a way around it if upload a image of that size?

Thank you in advance

Ian

Attachments

@ianhaney,

Any image proportions (width&height) should be fine, while the image size stays under 2mb size limit.
You can rise the memory limits for uploading bigger images, say, up to 10 megs, if your hosting has enough memory.
Let me know if you need instructions. Or search this forum.
Hi

Thank you for the reply, appreciate it

I did think it was the memory limit but still didn't work when I increased it
Please, reply when you try changing all these settings:
includes/fileuploader/config.php - Line 98
Code:
Code: Select all
$Config['k_max_upload_size'] = '2'; //Size in MB. Set to '0' to allow any size

includes/plupload/upload.php - Line 104
Code:
Code: Select all
max_file_size : '2mb',

includes/timthumb.php - Line 49
Code:
Code: Select all
ini_set('memory_limit', "50M");

try to put 0, 10, 250 respectively. The last one is not constant, it might be even 500. Try increasing by 50M till you have the desired effect.

:)
Thank you so much

Will try that tomorrow morning and post a update
Hi

I have done the changes and works perfect now

Thank you so much, really appreciate the help and coding changes
6 posts Page 1 of 1
cron