axew3 / phpBB-image-attachments-rotation

Add icon after the image attachment name into the attachments panel (jpg,gif,png,webp). Onclick open a modal popup where it is possible to rotate the image and save it. Preserve images transparencies. Immediately display the rotated image into the post, and not the browser's cached one. Edit, post and reply mode.
https://www.axew3.com/
GNU General Public License v3.0
3 stars 1 forks source link

PHP 8.3 issue #4

Closed NH3CL closed 3 months ago

NH3CL commented 3 months ago

Hi,

I'm using latest PHPBB (3.3.12) with PHP 8.3.8.

I would love to use your plugin, but it throws an error in apache error log, and the picture is not being saved as rotated. Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg() in /var/www/vhosts/www.domain.tld/www/ext/w3all/imageattachrotation/core/fileRotate.php:186\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/www.domain.tld/www/ext/w3all/imageattachrotation/core/fileRotate.php on line 186', referer: https://domain.tld/posting.php?mode=edit&p=8

NH3CL commented 3 months ago

Problem solved by apt install php8.3-gd