MoreGallery 1.17.0-rc1

MoreGallery 1.17.0-rc1 is now available for download. Be aware that this is a pre-release and as such, make sure to test it on a staging environment before updating production. This release includes some great new features that have been requested previously.

Gallery Position

This release adds the system setting moregallery.gallery_position that works in tandem with the pre-existing moregallery.content_position to enable a total of 12 layout configurations. The new settings accepts the values attached, detached and tab. "Detached" is the default and how Galleries have looked in the past with the Gallery in its own block below the other resource form fields. "Attached" moves the gallery into the main resource field set, and "tab" puts the Gallery into its own tab.

Gallery in the 'attached' position
Gallery in the 'attached' position

Limit Concurrent Uploads

The new system setting moregallery.max_concurrent_uploads lets you limit how many images can be uploaded simultaneously. Say you set it to 5, and add a number of images to a Gallery, it will only upload 5 at once and queue the rest to be uploaded as soon as a slot becomes available.

Added Support for WEBP and AVIF Crops

Crops can now be in the newer webp and avif formats, and you can set their quality in the system settings moregallery.crop_webp_quality and moregallery.crop_avif_quality.

Set Crops as a Different Format to the Source Image

Previously when crops were created on image upload, if you uploaded a jpeg image, the crops would also be jpeg. Now, thanks to the system setting moregallery.crop_format, you can convert crops to a different format. For example if you set the crop format as avif, then even if you upload a png source image, the crops will be created as avif images.

Note that your server must support avif and webp to take advantage of these formats.

Downsize Images on Upload

Are your editors uploading big images? You can now set a max width and max height for image uploads using the settings moregallery.image_max_upload_width and moregallery.image_max_upload_height. Uploaded images will then get resized to fit within those limits.

Strip Image Metadata on Upload

You can now optionally strip exif data from an image on upload using the system setting moregallery.image_strip_meta. This is of course after it's been used to fix incorrectly rotated images first.

Fix Multiple Resource Cache not Clearing When Updating Galleries

For snippet calls that were pulling in images from multiple galleries, the cache will now be cleared correctly when updating those galleries.

Murray Wood

Murray is a part-time senior developer at modmore, regular MODX core contributor, author of many Commerce extensions, and recently became a dad. He works remotely from Hong Kong, spending his time building exciting new features, squashing bugs, and providing support.