- Discussions
- 4 644
- Messages
- 12 049
- Solutions
- 81
- J'aime
- 7 606
- Points
- 198
XenForo Media Gallery (XFMG) 2.2 sees a range of new features and improvements. Some of these are a result of new integrations with XenForo 2.2 itself, while others are exclusive new features to XFMG itself.
Lightbox navigation
Starting with XenForo 2.2 we are introducing a brand new lightbox which as well as being a much improved user experience also affords us some flexibility in how and where we use the lightbox.
One such use case which we couldn't resist treating you to for XFMG 2.2 is of course navigating through media items in the media gallery. Before we get into it, this is what the experience looks like.

The lightbox as used in the media gallery supports all media types including media embeds, video and audio.
By default the lightbox opens up a very useful sidebar which displays most of the information and functionality that you get if you go to the full media page. If you prefer not to view that information then you can collapse the sidebar. Sections within the sidebar can be expanded and collapsed as required and we remember your preferences here so only the relevant sections are displayed.
The lightbox will initially only contain the items from the current page but, as you can see in the video, you can continue navigating beyond the page you're on and we will load additional items from the subsequent page dynamically.
If you need to view the full media details and access the full functionality you just need to click the "New window" icon in the lightbox toolbar or click the caption of the image.
You can navigate through any media list in this way be that the list of media in an album or category, all media in the New media page or the entire media gallery via the media index.
We think this is an awesome way to navigate through the media gallery but if you prefer to keep things as they are (we won't be offended!) then you can disable it :
We should also take this opportunity to note that all of the lightbox functionality you see here is a general concept baked into the core lightbox itself so should any add-on developers which to add a similar navigation or sidebar concept to their existing lightbox implementations then this should be fairly trivial to do.
Attachment mirroring
For a very long time you have been telling us that you would like to have a slightly closer relationship between attachments in threads and posts and the media gallery, and the new "Attachment mirroring" system in XFMG 2.2 aims to somewhat bridge that gap. It starts with a forum-level or media category-level configuration :
While viewing a media category you can pick which forums attachments are mirrored from...
... and while viewing a forum you can pick which media category attachments are mirrored to.
Once you have specified which media category your forum should mirror attachments to, any attachments which are added to posts in that forum will be automatically created as media items in the specified gallery.
As an example, here is a post containing an image I have attached inside the "Travel and nature" forum :
And here it is now displayed in the media gallery :
As you can see here we make display a clear reference to the fact that the media item originated from a particular thread with the "Originally posted in: Thread 'Travel photos'" line. Thins links and takes you straight back to the post where the attachment was originally posted.
While viewing the thread, we also make clear that the attachment has been also posted over in the media gallery too. Of course images open up in the lightbox and when you do so, the media information opens up in the sidebar with an additional link that links back to the full media gallery view if needed
But what about all of those existing threads with great images you might want to bring over to the media gallery? We've added a rebuild which will take care of that for you :
This allows you to have old items that were not yet mirrored synced into the media gallery, plus it will move or remove items from the media gallery as applicable if you disable mirroring or change the target category.
Télécharger V2.2.0 Beta 6 :
Upgrade XenForo Media Gallery 2.2.0 Candidate 1
Today we're happy to announce the next step towards a stable and supported release of XenForo 2.2 by moving onto the "release candidate" stage. We recommend that all customers running previous 2.2 versions upgrade to this release.
This release is similar to the previous betas, but indicates that we are now a step closer to the stable 2.2.0 release. This is still considered a pre-release version, so we do not recommend running it in production and ticket support for this version is not yet available.
More specific details regarding bugs fixed in this release can be found in the resolved bugs forum.
This is pre-release software. It is not officially supported.
We do not recommend running it in production.
Please remember that this is pre-release software. It contains known bugs and incomplete functionality. We do not recommend running pre-release software in a production environment, and support is limited at this time to questions here on the community forums.
Add-ons and custom styles may be broken after upgrading to 2.2. You must test your add-ons thoroughly or look for updates. Be especially careful with add-ons that cover similar features to ones that are added to 2.2; these may conflict with the core XenForo data. If data conflicts are found, they will need to be resolved in a new add-on release or by removing the add-on before upgrading to 2.2.
If you choose to run pre-release software, it is your responsibility to ensure that you make a backup of your data. We recommend you do this before attempting an upgrade. If in doubt, always do a test upgrade on a copy of your production data.
All customers with active licenses may now download the new version from the customer area.
Upgrade XenForo Media Gallery 2.2.0 Candidate 2
Today we continue the release candidate stage of XenForo 2.2 with Release Candidate 2. We recommend that all customers running previous 2.2 versions upgrade to this release.
This release is similar to the previous betas, but indicates that we are now a step closer to the stable 2.2.0 release. This is still considered a pre-release version, so we do not recommend running it in production and ticket support for this version is not yet available.
More specific details regarding bugs fixed in this release can be found in the resolved bugs forum.
This is pre-release software. It is not officially supported.
We do not recommend running it in production.
Upgrade XenForo Media Gallery 2.2.0 Release
Today, after a refreshingly short beta and release candidate phase, we are excited to announce that XenForo 2.2.0 is now prepared, seasoned, baked and served, replacing XenForo 2.1.11 as our primary supported XenForo version.
This release adds a collection of great new features to XenForo, including the ability to repurpose forums as article repositories, a new way to encourage guest users to register, a progressive web app and a completely redesigned rich text editor. Check out the following list for some highlights:
We have also added preliminary support for the upcoming major release of PHP 8.0.
Télécharger V2.2.0 :
XenForo Media Gallery 2.2.2 Released
XenForo Media Gallery 2.2.2 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo Media Gallery 2.2 upgrade to this release to benefit from increased stability.
Some of the changes in XFMG 2.2.2 include :
XenForo Media Gallery 2.2.3 Released
XenForo Media Gallery 2.2.3 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo Media Gallery 2.2 upgrade to this release to benefit from increased stability.
One-click upgrade to XenForo Media Gallery 2.2.3
Directly from your admin control panel
Some of the changes in XFMG 2.2.3 include:
XenForo Media Gallery requires XenForo 2.2 or later.
Télécharger V2.2.3 :
XenForo Media Gallery 2.2.4 Released
XenForo Media Gallery 2.2.4 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo Media Gallery 2.2 upgrade to this release to benefit from increased stability.
One-click upgrade to XenForo Media Gallery 2.2.4
Directly from your admin control panel
If you are a XenForo Cloud customer, your upgrade will be scheduled automatically.
Some of the changes in XFMG 2.2.4 include:
XenForo Media Gallery requires XenForo 2.2 or later.
Télécharger V2.2.4 : [POSTS=130] xfmg_2.2.4 [/POSTS]
XenForo Media Gallery 2.2.5 Released
XenForo Media Gallery 2.2.5 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo Media Gallery 2.2 upgrade to this release to benefit from increased stability.
One-click upgrade to XenForo Media Gallery 2.2.5
Directly from your admin control panel
If you are a XenForo Cloud customer, your upgrade will be scheduled automatically.
Some of the changes in XFMG 2.2.5 include :
The following public templates have had changes :
XenForo Media Gallery requires XenForo 2.2 or later.
Télécharger V2.2.5 :
Lightbox navigation
Starting with XenForo 2.2 we are introducing a brand new lightbox which as well as being a much improved user experience also affords us some flexibility in how and where we use the lightbox.
One such use case which we couldn't resist treating you to for XFMG 2.2 is of course navigating through media items in the media gallery. Before we get into it, this is what the experience looks like.






The lightbox as used in the media gallery supports all media types including media embeds, video and audio.
By default the lightbox opens up a very useful sidebar which displays most of the information and functionality that you get if you go to the full media page. If you prefer not to view that information then you can collapse the sidebar. Sections within the sidebar can be expanded and collapsed as required and we remember your preferences here so only the relevant sections are displayed.
The lightbox will initially only contain the items from the current page but, as you can see in the video, you can continue navigating beyond the page you're on and we will load additional items from the subsequent page dynamically.
If you need to view the full media details and access the full functionality you just need to click the "New window" icon in the lightbox toolbar or click the caption of the image.
You can navigate through any media list in this way be that the list of media in an album or category, all media in the New media page or the entire media gallery via the media index.
We think this is an awesome way to navigate through the media gallery but if you prefer to keep things as they are (we won't be offended!) then you can disable it :
We should also take this opportunity to note that all of the lightbox functionality you see here is a general concept baked into the core lightbox itself so should any add-on developers which to add a similar navigation or sidebar concept to their existing lightbox implementations then this should be fairly trivial to do.
Attachment mirroring
For a very long time you have been telling us that you would like to have a slightly closer relationship between attachments in threads and posts and the media gallery, and the new "Attachment mirroring" system in XFMG 2.2 aims to somewhat bridge that gap. It starts with a forum-level or media category-level configuration :
While viewing a media category you can pick which forums attachments are mirrored from...
... and while viewing a forum you can pick which media category attachments are mirrored to.
Once you have specified which media category your forum should mirror attachments to, any attachments which are added to posts in that forum will be automatically created as media items in the specified gallery.
As an example, here is a post containing an image I have attached inside the "Travel and nature" forum :
And here it is now displayed in the media gallery :
As you can see here we make display a clear reference to the fact that the media item originated from a particular thread with the "Originally posted in: Thread 'Travel photos'" line. Thins links and takes you straight back to the post where the attachment was originally posted.
While viewing the thread, we also make clear that the attachment has been also posted over in the media gallery too. Of course images open up in the lightbox and when you do so, the media information opens up in the sidebar with an additional link that links back to the full media gallery view if needed
But what about all of those existing threads with great images you might want to bring over to the media gallery? We've added a rebuild which will take care of that for you :
This allows you to have old items that were not yet mirrored synced into the media gallery, plus it will move or remove items from the media gallery as applicable if you disable mirroring or change the target category.
Télécharger V2.2.0 Beta 6 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Today we're happy to announce the next step towards a stable and supported release of XenForo 2.2 by moving onto the "release candidate" stage. We recommend that all customers running previous 2.2 versions upgrade to this release.
This release is similar to the previous betas, but indicates that we are now a step closer to the stable 2.2.0 release. This is still considered a pre-release version, so we do not recommend running it in production and ticket support for this version is not yet available.
More specific details regarding bugs fixed in this release can be found in the resolved bugs forum.
This is pre-release software. It is not officially supported.
We do not recommend running it in production.
Please remember that this is pre-release software. It contains known bugs and incomplete functionality. We do not recommend running pre-release software in a production environment, and support is limited at this time to questions here on the community forums.
Add-ons and custom styles may be broken after upgrading to 2.2. You must test your add-ons thoroughly or look for updates. Be especially careful with add-ons that cover similar features to ones that are added to 2.2; these may conflict with the core XenForo data. If data conflicts are found, they will need to be resolved in a new add-on release or by removing the add-on before upgrading to 2.2.
If you choose to run pre-release software, it is your responsibility to ensure that you make a backup of your data. We recommend you do this before attempting an upgrade. If in doubt, always do a test upgrade on a copy of your production data.
All customers with active licenses may now download the new version from the customer area.
Upgrade XenForo Media Gallery 2.2.0 Candidate 2
Today we continue the release candidate stage of XenForo 2.2 with Release Candidate 2. We recommend that all customers running previous 2.2 versions upgrade to this release.
This release is similar to the previous betas, but indicates that we are now a step closer to the stable 2.2.0 release. This is still considered a pre-release version, so we do not recommend running it in production and ticket support for this version is not yet available.
More specific details regarding bugs fixed in this release can be found in the resolved bugs forum.
This is pre-release software. It is not officially supported.
We do not recommend running it in production.
Upgrade XenForo Media Gallery 2.2.0 Release
Today, after a refreshingly short beta and release candidate phase, we are excited to announce that XenForo 2.2.0 is now prepared, seasoned, baked and served, replacing XenForo 2.1.11 as our primary supported XenForo version.
This release adds a collection of great new features to XenForo, including the ability to repurpose forums as article repositories, a new way to encourage guest users to register, a progressive web app and a completely redesigned rich text editor. Check out the following list for some highlights:
- Forum and thread types system
- Updated rich text editor
- User profile banners
- Username change requests
- Search forums
- Forum SEO controls
- Writing before registering support
- Progressive web app
- Activity summary emails
- Style archive import and export
- REST API additions
- Profile post attachments
We have also added preliminary support for the upcoming major release of PHP 8.0.
Télécharger V2.2.0 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
XenForo Media Gallery 2.2.2 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo Media Gallery 2.2 upgrade to this release to benefit from increased stability.
Some of the changes in XFMG 2.2.2 include :
- Fix an issue where media items imported from IPS Gallery did not retain the correct creation date.
- Ensure reacting to comments in the lightbox sidebar updates the reaction list.
- In rare cases where a media item is referencing an "original" version of an image that no longer exists, allow thumbnail rebuilds to fall back to the non-original (potentially watermarked) image.
- When adding media items to an already deleted album, do not increase the user's media count.
- Prevent users from accessing the embed media page without a context
- Add cache-buster to media item lightbox URLs
- Allow moderators who have "move any" permission to move media items into restricted albums
- Send watch alerts when approving comments
- When mirroring attachments to the media gallery automatically mark the media as viewed and, where applicable, automatically watch the media item.
- Ensure that phrases are escaped when used in the context of HTML attributes.
- When a pre-registration action is completed, only include the welcome for newly registered users.
- alert_xfmg_comment_pre_reg
- push_xfmg_comment_pre_reg
- report_content_xfmg_album
- report_content_xfmg_media
- xfmg_album_add
- xfmg_album_create
- xfmg_album_view
- xfmg_category_add
- xfmg_category_list_macros
- xfmg_comment_macros
- xfmg_media_add_macros
- xfmg_media_embed_media
- xfmg_media_lightbox_sidebar
- xfmg_media_view
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
XenForo Media Gallery 2.2.3 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo Media Gallery 2.2 upgrade to this release to benefit from increased stability.
One-click upgrade to XenForo Media Gallery 2.2.3
Directly from your admin control panel
Some of the changes in XFMG 2.2.3 include:
- Fix non-numeric value error when formatting EXIF exposure time values.
- Add support for pauseOnHover to media and album sliders.
- Fix a number of alert templates that may have been incorrectly using relative URLs in some cases.
- Add better default titles to the Latest Comments and Gallery Statistics widgets.
- Add a new method that can be used to find media items for album thumbnail generation.
- Fix regression that may have prevented adding embeds to a new personal album.
- Strip BB code from media comment news feed items.
- Skip importing media comments where the message is empty.
- Fix username being empty when importing media items from PhotoPost Pro.
- Adjust order of import steps from PhotoPost Pro to ensure member albums are imported into categories.
- alert_user_xfmg_album_delete
- alert_user_xfmg_album_edit
- alert_user_xfmg_comment_delete
- alert_user_xfmg_comment_edit
- alert_user_xfmg_media_delete
- alert_user_xfmg_media_edit
- reaction_item_xfmg_comment
- search_form_xfmg_album
- search_form_xfmg_media
- xfmg_album_create
- xfmg_media_add_macros
- xfmg_media_view_macros
- xfmg_widget_latest_comments
XenForo Media Gallery requires XenForo 2.2 or later.
Télécharger V2.2.3 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
XenForo Media Gallery 2.2.4 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo Media Gallery 2.2 upgrade to this release to benefit from increased stability.
One-click upgrade to XenForo Media Gallery 2.2.4
Directly from your admin control panel
If you are a XenForo Cloud customer, your upgrade will be scheduled automatically.
Some of the changes in XFMG 2.2.4 include:
- Do not attempt watermarking if a valid source image can not be created
- Pass thumbnail width/height to the thumbnails to avoid layout shift.
- Efforts to more consistently render smilies and emojis in the XFMG latest comment widget. We also render more BB code. Similar to profile post widget.
- Fix RSS feeds for media lists showing an unexpectedly small number of items.
- When an album contains media with custom thumbnails ensure the album thumbnail is rebuilt as expected.
- When embedding a YouTube video, if a list parameter is included, exclude this from the URL when fetching the thumbnail image.
- For new signatures, disallow [GALLERY] bb code if the user does not have the "Allow embedded media" signature permission.
- xfmg_comment_macros
XenForo Media Gallery requires XenForo 2.2 or later.
Télécharger V2.2.4 : [POSTS=130] xfmg_2.2.4 [/POSTS]
XenForo Media Gallery 2.2.5 Released
XenForo Media Gallery 2.2.5 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo Media Gallery 2.2 upgrade to this release to benefit from increased stability.
One-click upgrade to XenForo Media Gallery 2.2.5
Directly from your admin control panel
If you are a XenForo Cloud customer, your upgrade will be scheduled automatically.
Some of the changes in XFMG 2.2.5 include :
- Fix potential out-of-range error with adjusting media counts when albums are deleted
- Check moderated and deleted states when determining media comment visibility
- Fix incorrect variable usage in vBulletin importer
- Use a more generic icon for the default thumbnail for media embed media items.
- Do not display comments against ratings in the news feed when the comment can no longer be viewed.
- Add CLI command to rebuild album thumbnails.
- Prevent adding media to media items if the main add media permission is not given.
- Skip extension checking for media items that have been transcoded.
- Add setIsAutomated and setPerformValidations method to media creator.
- Adjust embedded media items in posts so the container fits the content better.
- Avoid layout shift when viewing media items.
- Avoid error logs if there is a non-existent attachment for a media item.
- Reset view/add privacy when moving album to/from category.
- Edit default category description to no longer attempt to link to the admin control panel.
- Include a user's pending media comments in various places
- Use validator to verify ffmpeg path in media attachment handler
- Rebuild album privacy caches when merging users
The following public templates have had changes :
- news_feed_item_xfmg_rating_insert
- xfmg_comment
- xfmg_comment_macros
- xfmg_gallery_bb_code.less
- xfmg_media_add_macros
- xfmg_media_list.less
- xfmg_media_note.less
- xfmg_media_view.less
- xfmg_media_view_macros
XenForo Media Gallery requires XenForo 2.2 or later.
Télécharger V2.2.5 :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.