QloApps Forums
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Can not upload the big jpg image

    Bug Report
    upload big jpg image
    4
    7
    1102
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      duongledong4 last edited by duongledong4

      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.

      1 Reply Last reply Reply Quote 0
      • S
        Sumit Global Moderator last edited by Sumit

        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.

        1 Reply Last reply Reply Quote 0
        • D
          duongledong4 last edited by

          I check my configuration on my hosting, I already set 128M for 2 values before. Do you have others way or anywhere?

          1 Reply Last reply Reply Quote 0
          • S
            Sumit Global Moderator last edited by

            @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

            D 1 Reply Last reply Reply Quote 0
            • D
              duongledong4 @Sumit last edited by

              @sumit
              my ticket here
              https://webkul.uvdesk.com/en/customer/ticket/view/103448
              Pleae help me soon
              Thank you!

              Faiz 1 Reply Last reply Reply Quote 0
              • Faiz
                Faiz @duongledong4 last edited by

                @duongledong4 Thanks for creating a ticket. We will contact you soon.

                1 Reply Last reply Reply Quote 0
                • U
                  UnTamed1 last edited by

                  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'

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post