I have the latest ver of open cart, tried searching but found nothing
q: How do I increase the image upload size for products. it currently rejects picts over 300K
Again, I want to increase the UPLOAD size, not display size, or the file type (found that)
Thanks
Paul
q: How do I increase the image upload size for products. it currently rejects picts over 300K
Again, I want to increase the UPLOAD size, not display size, or the file type (found that)
Thanks
Paul
Hi Paul,
You were close to it if you found the file extensions!
Just remember that changing this value will be reset when you upgrade to a new version of opencart. I was going to see about writing a vqmod for this, but I haven't become an expert on that yet lol
Just change the 300000 (Bytes) to what you need.
As a warning - this limit has been set for a reason - most likely to help with server space, so be cautious.
You were close to it if you found the file extensions!
Just remember that changing this value will be reset when you upgrade to a new version of opencart. I was going to see about writing a vqmod for this, but I haven't become an expert on that yet lol
From there find:admin/controller/common/filemanager.php
Code: Select all
if ($this->request->files['image']['size'] > 300000) {
$json['error'] = $this->language->get('error_file_size');
}
As a warning - this limit has been set for a reason - most likely to help with server space, so be cautious.
Kevin Davidson
Purolator Shipping Module
Canpar Shipping Module
VQMod - Paypal Transaction ID to Payment Details
i have installed the extension and also increased the filemanager limit but to the life of me i still get the very 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
I just wacked that into a vqmod...
<modification>
<id>Modify upload file size</id>
<version>v1.0.x.x</version>
<vqmver>v2.x.x</vqmver>
<author>Sean Kimball</author>
<company>BigBlock Studios</company>
<file name="admin/controller/common/filemanager.php" error="skip">
<operation error="skip">
<search position="replace" error="skip">
<![CDATA[if ($this->request->files['image']['size'] > 300000) {]]>
</search>
<add>
<![CDATA[if ($this->request->files['image']['size'] > 600000) {]]>
</add>
</operation>
</file>
</modification>
Actually I am facing the same problem in an Opencart Store. My data base operator was uploading the products and their related images in handcrafted Furniture store named www.saharanpurfurniture.com but some images fetching the problem of the size of file and its dimensions. Although the dimensions are below 1000 pixels in size but the total size of image 300KB is not enough for a image as the industry is high demanding in the product image and looking very large resolution images for their customers. so I think this file size 300 KB is not genuine and I wish this will increased in next updation.
upload size can also be set in php server settings. limiting uploading large pictures,
uploading large pictures can also be done using ftp upload, when using a ftp program like filezilla, there is no limit in uploaf size.
be carefull, large pictures can also give out off memorie errors when they are resized in opencart.
uploading large pictures can also be done using ftp upload, when using a ftp program like filezilla, there is no limit in uploaf size.
be carefull, large pictures can also give out off memorie errors when they are resized in opencart.
Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com
Who is online
Users browsing this forum: No registered users and 119 guests