Can not upload the big jpg image
-
Hi there,
Beacause the clear image is very important for introduce my hotel, so i want to keep the original images? But I can not upload the file about more than 2.5 Mb, the file is about 1M upload fine.
Where can i update the maximum size image or?
I see i'm setting 8388608 byte(8M) for maximum uploading for Image. -
Please set max_upload_filesize and post_max_size values on your server to the value more than the size of image you want to upload.
Please set 16M to both the variables once and then upload the image. -
I check my configuration on my hosting, I already set 128M for 2 values before. Do you have others way or anywhere?
-
@duongledong4
We have to check this issue on your server. So we request you to please create a ticket at https://webkul.uvdesk.com/ with your issue.
Also, provide your FTP details and admin login credentials while creating the ticket.
Thanks -
@sumit
my ticket here
https://webkul.uvdesk.com/en/customer/ticket/view/103448
Pleae help me soon
Thank you! -
@duongledong4 Thanks for creating a ticket. We will contact you soon.
-
Difficulty uploading images suggestion:
@untamed1 said in INTERIOR IMAGE NOT WORK:
@untamed1 said in INTERIOR IMAGE NOT WORK:
Need to edit file AdminAboutHotelBlockSettingController.php
strtolower needed for preg match.Under function processSave()
if (!(Tools::getValue("id_interior_image") && !$file['size'])) { if (!$file['size']) { $this->errors[] = Tools::displayError($this->l('Gallery Image Required.')); } elseif ($file['error']) { $this->errors[] = Tools::displayError($this->l('Cannot upload file.')); } elseif (!(preg_match('/\.(jpe?g|gif|png)$/', strtolower($file['name'])) && ImageManager::isRealImage($file['tmp_name'], $file['type'])) ) { $this->errors[] = Tools::displayError($this->l('Please upload image file.')); }
Other option is to change preg_match string to '/.(jpe?g|gif|png)$/i'