A
A
Andress842022-01-27 22:36:11
PHP
Andress84, 2022-01-27 22:36:11

How to upload large size photos in osStore 3.0.3.7?

Good afternoon, I can’t figure out how to remove the restriction on uploaded photos in OpenCart 3 (osStore 3.0.3.7)
That is, OpenCart limits the size of photos to 300 Kb, but how to put it up to 1mb ??

I found information on the forums that you need to change this line in admin\controller\common\filemanager.php

if ($this->request->files['image']['size'] > 300000) {
$json['error'] = $this->language->get('error_file_size');
}


But in version osStore 3.0.3.7 there is no such line. Can someone tell me how to solve this problem??

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Immortal_pony, 2022-01-29
@Andress84

Through the admin panel:
Admin -> System -> Settings -> Server -> Max File Size

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question