Back to Top

How to increase Product Imagesize in Opencart

To increase Product Imagesize in Opencart

Here, I come with one more new article in Opencart.In this quick article, I am going to share how to increase product image upload size into Opencart.

In Opencart, Whenever you are trying to upload product image from admin panel, you will get the alert message something like “maximum image upload limit 300kb only.”
Let’s understand that how to do it.

First of all, Go to the folder you have installed the open cart. and go to the below path and open file filemanager.php file.

and find the below line of code into it:

and replace it with the following line which increase the size to 10 MB.

Keep in Mind You need to change the value as per your requirement.

That’s it. Now you can upload any size of the file you want.

Thank you for reading.Feel free to share your thoughts! Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Comments (1)

  1. I think that the size you specified in the code lets you upload only files up to 1 MB, not 10.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

How to allow more MIME types in WordPress

Posted on 5 years ago

Bhumi

How to call Remote URL in jQuery Ajax?

Posted on 5 years ago

Bhumi