Defekte Bilder bei Client-seitiger Skalierung

  • Affected App
    WoltLab Suite Core

    (Defekte) Bilder sagen mehr als tausend Worte:


    Tritt im Firefox nicht auf, allerdings im Chrome 81.0.4044.122, Chrome 84.0.4126.0 und Edge 81.0.416.64.

    Ohne EXIF-Daten scheint es zu gehen:


    Ich weiß, dass das Thema schon an anderer Stelle besprochen wurde. Aber bleiben kann das so ja auch nicht, deswegen melde ich es mal offiziell als Fehler.

  • Erneut getestet, selbes Ergebnis:

    Requested URL
    /forum/index.php?ajax-upload/&t=e0d1e66ca0047aabab57a0e7498f982b195af1d7
    Referrer
    WoltLab Suite
    5.2.5
    PHP
    7.3.14-1~deb10u1
    Error Message
    Call to a member function setImageOrientation() on resource
    Type
    Error
    File (Line)
    /var/www/domain.tld/httpdocs/lib/system/upload/DefaultUploadFileSaveStrategy.class.php (202)
    Stacktrace
    1. /var/www/domain.tld/httpdocs/lib/system/upload/UploadHandler.class.php (107): wcf\system\upload\DefaultUploadFileSaveStrategy->save(…)
    2. /var/www/domain.tld/httpdocs/lib/data/attachment/AttachmentAction.class.php (148): wcf\system\upload\UploadHandler->saveFiles(…)
    3. /var/www/domain.tld/httpdocs/lib/data/attachment/TinyImgAttachmentAction.class.php (141): wcf\data\attachment\AttachmentAction->upload(…)
    4. [internal function] (?): wcf\data\attachment\TinyImgAttachmentAction->upload(…)
    5. /var/www/domain.tld/httpdocs/lib/data/AbstractDatabaseObjectAction.class.php (205): call_user_func(…)
    6. /var/www/domain.tld/httpdocs/lib/action/AJAXProxyAction.class.php (75): wcf\data\AbstractDatabaseObjectAction->executeAction(…)
    7. /var/www/domain.tld/httpdocs/lib/action/AJAXInvokeAction.class.php (94): wcf\action\AJAXProxyAction->invoke(…)
    8. /var/www/domain.tld/httpdocs/lib/action/AbstractAction.class.php (47): wcf\action\AJAXInvokeAction->execute(…)
    9. /var/www/domain.tld/httpdocs/lib/action/AJAXInvokeAction.class.php (61): wcf\action\AbstractAction->__run(…)
    10. /var/www/domain.tld/httpdocs/lib/system/request/Request.class.php (83): wcf\action\AJAXInvokeAction->__run(…)
    11. /var/www/domain.tld/httpdocs/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    12. /var/www/domain.tld/httpdocs/forum/index.php (9): wcf\system\request\RequestHandler->handle(…)

    Nun könnte man natürlich meinen, der Fehler läge in unserer TinyImg-Erweiterung. Das hab ich natürlich auch getestet:

    Requested URL
    /forum/index.php?ajax-upload/&t=e0d1e66ca0047aabab57a0e7498f982b195af1d7
    Referrer
    WoltLab Suite
    5.2.5
    PHP
    7.3.14-1~deb10u1
    Error Message
    Call to a member function setImageOrientation() on resource
    Type
    Error
    File (Line)
    /var/www/domain.tld/httpdocs/lib/system/upload/DefaultUploadFileSaveStrategy.class.php (202)
    Stacktrace
    1. /var/www/domain.tld/httpdocs/lib/system/upload/UploadHandler.class.php (107): wcf\system\upload\DefaultUploadFileSaveStrategy->save(…)
    2. /var/www/domain.tld/httpdocs/lib/data/attachment/AttachmentAction.class.php (148): wcf\system\upload\UploadHandler->saveFiles(…)
    3. [internal function] (?): wcf\data\attachment\AttachmentAction->upload(…)
    4. /var/www/domain.tld/httpdocs/lib/data/AbstractDatabaseObjectAction.class.php (205): call_user_func(…)
    5. /var/www/domain.tld/httpdocs/lib/action/AJAXProxyAction.class.php (75): wcf\data\AbstractDatabaseObjectAction->executeAction(…)
    6. /var/www/domain.tld/httpdocs/lib/action/AJAXInvokeAction.class.php (94): wcf\action\AJAXProxyAction->invoke(…)
    7. /var/www/domain.tld/httpdocs/lib/action/AbstractAction.class.php (47): wcf\action\AJAXInvokeAction->execute(…)
    8. /var/www/domain.tld/httpdocs/lib/action/AJAXInvokeAction.class.php (61): wcf\action\AbstractAction->__run(…)
    9. /var/www/domain.tld/httpdocs/lib/system/request/Request.class.php (83): wcf\action\AJAXInvokeAction->__run(…)
    10. /var/www/domain.tld/httpdocs/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    11. /var/www/domain.tld/httpdocs/forum/index.php (9): wcf\system\request\RequestHandler->handle(…)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!