This extension is a further development of canonknipser ImageMagick Thumbnailer. The extension uses the PHP imagick class to modify uploaded images, thumbnails and avatars. It shows a preview image in attachments upload. If the values set in the ACP are exceeded by the image file, the image is being resized by the extension. The extension supports JPEG, WEBP, GIF and PNG images. Other image formats, for example BMP, are converted to JPEG when resized. This extension can change the image size and/or the image file size. It rotate images, thumbnails and avatars according to their EXIF information and it can remove the EXIF data from JPEG and WEBP files. Images and thumbnails can also be rotated manually.
- No settings.
- Create thumbnail
- Thumbnail compression quality.
- Insert full size image in post
- Maximum image width (Displayed in post)
- Image compression quality.
- Maximum image width. (Store on Server)
- Maximum image heigth.
- Maximum image file size.
- Remove EXIF data
- Resize avatar
- phpBB 3.3.0 or higher
- php 7.2 or higher
- php ImageMagick library installed
- Fancybox (
lotusjeff/fancybox
) - Fancybox (
imcger/fancybox
) - Lightbox (
vse/lightbox
)
Copy the extension to phpBB3/ext/imcger/imgupload
.
Go to "ACP" > "Customise" > "Manage extensions" and enable the "Image upload use ImageMagick" extension.
For full functionality "Maximum file size" in "ACP" > "Posting" > "Attachment settings" must be set to 0 and in "ACP" > "Posting" > "Manage attachment extension groups" > "Settings in Images" > "Maximum file size" must be set to 0. This is done automatically during the migration.
For full functionality "Maximum image dimensions" in "ACP" > "Posting" > "Attachment settings" must be set to 0. This is done automatically during the migration. For full functionality "Maximum avatar file size" in "ACP" > "Board configuration" > "Avatar settings" must be set to 0. This is done automatically during the migration.
- Navigate in the ACP to
Customise -> Manage extensions
. - Click the
Disable
link for "Image upload use ImageMagick". - Delete the
imgupload
folder fromphpBB3/ext/imcger/
. - Copy the extension to
phpBB3/ext/imcger/imgupload
. - Go to "ACP" > "Customise" > "Manage extensions" and enable the "Image upload use ImageMagick" extension.
- Changed Determining the image file size.
- Fixed Submit buttons after closing the confirm box without function.
- Fixed Some servers do not send the new file size after uploading images.
- Added Set max filesize in attachment extension groups on migraton to 0.
- Fixed Don't work in none standard attachment extension groups
- Fixed Error in Post
- Improved error handling in preview
- Fixed multiple preview hashes
- Set save-button background green when image is rotated
- Open confirmbox if the image has not been saved after rotation
- Revised JS code
- Fixed JS code in ACP don't work with radio buttons
- Fixed if the attachment thumbnail is too small, it will not be centered
- Added security measures for Ajax request
- Added updating the image file size in the row after uploading or rotating
- Changed error handling for missing thumbnail file to a warning message
- Changed compression method for png files
- Changed phpBB min. version to 3.3.0
- Fixed error when upload none image file
- Fixed upload aborts sporadically with large files
- Fixed don't change attachment id in IMG bbCode after image rotated
- Changed Symfony json response tp phpBB response
- Added support for Toggle Control from LukeWCS
- Fixed typos
- Fixed error when upload file after store rotated image
- Changed function for renumbering the attachmend BBCode
- Added manual image rotation
- BBCode settings considered
- Fixed scrollbar on large images in attachbox
- Fixed button misaligned
- Changed sql query for allowed image extensions
- Changed compression method for png images
- Added possibility to insert the attachment as an fullsize image in the post message
- Added maximum display size for images in posts displayed in the attachment box without thumbnails
- Fixed don't show preview thumbnail in attachments upload
- Added support for Lightbox and Fancybox
- Added show language author in ACP dialog
- Changed check system requirement
- Added preview image in attachments upload
- Changed in ACP from radio to toggle button
- Fixed missing language variable in ACP controller
- Code changes
- Added avatar resize
- Added version check
- Added controller for ACP template
- Update check system requirement
- Fixed EXIF orientation handling
- Fixed migrations
- Cleanup code
- Code changes
- Code changes
- Navigate in the ACP to
Customise -> Manage extensions
. - Click the
Disable
link for "Image upload use ImageMagick". - To permanently uninstall, click
Delete Data
, then delete theimgupload
folder fromphpBB3/ext/imcger/
.