Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15356

Avatar remote upload doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.2.2-RC1
    • 4.0.0-a1
    • None
    • None

      Since PHPBB3-15287, in filespec_storage.php we have:

      $this->image_info = $this->imagesize->getImageSize($this->filename, $this->mimetype);
      

      but

      $this->filename

      is not the destination file (like in filespec.php) but the temporary file, eg C:\Windows\Temp\51b59F1.tmp.

      So, FastImageSize is unable to get file size for .tmp file

        1. file_info.png
          file_info.png
          4 kB
        2. class_mag.png
          class_mag.png
          29 kB
        3. Capture.png
          Capture.png
          13 kB

            Marc Marc
            ErnadoO Erwan Nader
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: