Page 1 of 1

Resize image on UPLOAD,

Posted: Tue Jun 10, 2014 1:46 pm
by johnny p
Good morning,

I am interested to know how I can allow in OpenCart 1.5.6 to upload an image higher than default size. From error encountered I see that those limit is for dimension 1000px and for size 300kb.
I have need to be resize the image to dimension max 1200px and max size 500kb.
I also see that resize can be made using .htaacess file, but unfortunately for me I don't see any example of codes which can do that.

Somebody can help me with some suggestions or ideas?
I waiting your suggestions and advice.
Thanks in advance to all community for support.
Keep in touch.

Best regards.

Re: Resize image on UPLOAD,

Posted: Tue Jun 10, 2014 3:26 pm
by clorne
This may be what you're looking for

http://forum.opencart.com/viewtopic.php ... 0KB#p63920

Re: Resize image on UPLOAD,

Posted: Tue Jun 10, 2014 6:11 pm
by johnny p
Good afternoon,

Thank you for suggestion, but unfortunately doesn't help me.
First of all, those topic refer to OpenCart version 1.4 and I use Opencart 1.5.6, and second those topic refer only to dimensions of image. I want to change all properties data: dimensions and size. I already see some module which do this, but I already have a lot of modules already installed and I prefer to made this changes from OpenCart files, by default.

I waiting your suggestions and advice referring to this optimization.

Thank you.
Keep in touch .

Best regards.