Version 1.0.1 - July 9, 2023
- Fixed multiple issues related to EXIF-tagged portait or upside-down images.
- Fixed image not orientating itself when re-generating thumbnails. This would happen when editing mask stickers, cropping, or manually re-creating thumbnails.
- Fixed
original_width
and original_height
picture attributes not taking into account Exif orientation. This affected the placement of stickers in viewbox, even if the image was correctly orientated.
- Fixed stickers overflowing outside the image viewbox.
- Modified image editor to prevent resizing stickers below the minimum backend-validated size. It was previously very difficult to find the sticker that caused the error or resize it to just barely the accepted size.
- Reduced minimum sticker size to 6px instead of previous 10px.
- Fixed lightbox exit button sometimes not being clickable.
- Added new options to
cimaise:migrate
CLI command: --refresh-exif
, --refresh-width-height
, --refresh-filesize
.
If your database contains any image with Exif-tagged orientation you should run the following commands after the update.
upgrade
with --refresh-width-height
will correct any invalid original width/height value:
php flarum cimaise:upgrade --refresh-width-height
If you have any image rendering sideways you can run conversions:regenerate
to fix them:
php flarum cimaise:conversions:regenerate
Both commands can take several minutes to run on a large number of pictures. There is a progress bar rendered when running. The last command might not be necessary if you never edited any of the pictures after the initial upload.
Thanks everyone for your patience, there's a lot still coming in the near future. I'll soon start work on changing pictures to not depend on albums so pictures can be uploaded standalone to a profile or uploaded in posts without the need for a linked album. I'll also add picture tags and manual picture sort in albums.
Last month I was finally able to update my website that uses that extension from Flarum beta 13 to 1.8, so now I'm finally running the latest version of my extension in production and using it every day myself. And I'll need the features mentioned above for my forum in the near future. Compared to the demo forum my production forum probably gives a better feel for what it looks like with many pictures (~1800 pictures at the moment) https://forum.evromandie.ch/albums You can also see the linked album feature in action (pictures attached to posts) in some of the recently replied discussions https://forum.evromandie.ch/t/commentaires-carte?sort=top