- Compatible XF 2.x versions
- 2.2
- Additional requirements
- XenForo 2.2
The XenForo Media Gallery is an add-on that allows you and your users to create galleries of images, videos, and audio in your forum, organized into admin-defined categories or user-created albums.
Installation, upgrades & uninstallation
The Media Gallery follows the standard XenForo add-on packaging system and approaches. Full guidance for these actions can be found in the add-ons section.If you are using version 2.1 or above you can also upgrade using the one-click upgrade system.
Once installed, you can reach the Media Gallery via the Media sections in the front end and the admin control panel.
Media categories
Media will be placed into individual categories that are organized into a tree. In this regard, they are very similar to the node tree.A category may be one of three types:
- Container only: these categories will not contain media or albums, instead of serving to organize sub-categories.
- Albums only: in these categories, users will create albums that can contain one or more media items. When the category is viewed, there will be one entry for each album.
- Media items only: media will be added directly to these categories and not organized into albums. Each media item will be displayed directly when viewing the category.
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
- 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