Post by Sergio P. » Tue Apr 06, 2010 4:06 pm

Hi everybody,
I want to increase a bit the 300kb / 1000x1000px image upload limits (OpenCart 1.4.6). Can anyone tell me how? There is a config file to modify?

Thanks

Sergio

Newbie

Posts

Joined
Tue Apr 06, 2010 3:59 pm

Post by Lightning » Thu Apr 08, 2010 3:49 am

admin\controller\common\filemanager.php

Code: Select all

if ($this->request->files['image']['size'] > 300000) {
    $json['error'] = $this->language->get('error_file_size');
}
I have changed the 300000 into 1000000 to upload my files which where bigger then 300kb
Last edited by i2Paq on Thu Apr 08, 2010 4:08 am, edited 1 time in total.
Reason: Code-tags

New member

Posts

Joined
Sun Mar 21, 2010 9:38 am
Location - BE

Post by YarniaPDX » Fri Sep 10, 2010 10:00 am

That's exactly the answer I needed -- thank you so much!

Active Member

Posts

Joined
Sat Sep 04, 2010 7:10 am

Post by imagex » Thu Feb 24, 2011 9:49 am

hi, i a using the latest version of open cart 1.4.9.3 - there is no file called filemanager.php

how do i increase the image upload limit in this version of opencart?

New member

Posts

Joined
Fri Dec 04, 2009 3:10 am

Post by megahuman » Wed Mar 09, 2011 8:45 pm

imagex wrote:hi, i a using the latest version of open cart 1.4.9.3 - there is no file called filemanager.php

how do i increase the image upload limit in this version of opencart?
Imagex, there is a file called Filemanager.php. I know this because I had the problem posted in this article, and fixed it how they explained. I'm using version 1.4.9.3. You may need to download the package again, and upload that file to your server. :)

Hope this helped!

Web Design and Development at 7 Design


Active Member

Posts

Joined
Tue Dec 14, 2010 4:57 pm

Post by dimko » Thu Oct 20, 2011 5:08 am

And how to change the 1000x1000 pixels?

EDIT: Found it, in: ...\admin\view\javascript\ckeditor\plugins\image\dialogs\image.js

Using OpenCart v1.5.1.3


Active Member

Posts

Joined
Sun Sep 25, 2011 2:10 am

Post by Tee.Mothiba » Tue Jul 09, 2013 5:21 pm

i have increased the image file upload limit to 10mb but still get the same error

Car DVD Navigation, 2 din Navigation,Car Radio, In-dash Navigation, Car Audio and Rear View Camera Store - South Africa - http://www.soundlouder.co.za

[/b]


New member

Posts

Joined
Sun Nov 11, 2012 6:42 pm

Post by sandropacifico » Wed Sep 04, 2013 8:46 pm

to change image size from 1000x1000px... go to [ SYSTEM ] > [ CONFIGURATION ] edit your shop, in there go to the IMAGE then in "Size of the enlarged images of the products:" put the size what you want.


Posts

Joined
Thu May 02, 2013 7:34 am

Post by vasif » Thu Oct 29, 2015 10:51 am

Any answers to this problem? i have 1.55 version of open cart. I did everything is told to do here but the same problem. I optimized file and made it so small. However, whenever i upload it, it just turns 90 degree. Any help? Thanks

Newbie

Posts

Joined
Sat Jun 29, 2013 3:36 pm

Post by IP_CAM » Thu Oct 29, 2015 10:58 am

this fine OC v.1.5.x OpenShop Admin Extension contains a MOD, enabling you to do such:
http://openshop.org.ua/openshop
Ernie
openshop.li/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: Semrush [Bot], thbr02 and 85 guests