Jump to content

can't upload a picture size over 350 KB


nooknikz

Recommended Posts

In the file /classes/filemanager.class.php, line 28 sets the fixed filesize that an uploaded image cannot exceed.

 

Please realize there are also upload limits imposed by PHP and upload limits imposed by the web server.

 

One of these limits (probably PHP) is revealed in the Dashboard, Store Info tab: Max Upload filesize.

 

Also realize that an image is typically compressed. A 350K image could easily expand out to several megabytes in it's working form in memory. CubeCart uses PHP's GD extension to create various sized images according to the needs of the skin. This is done in memory. There is the real danger of consuming all the memory allotted to your hosting account as set by your hosting provider.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...