Convert image media gallery all

Convert image media gallery all 1.2

No permission to buy ($35.00)
Compatible XF 2.x versions
  1. 2.0
  2. 2.1
  3. 2.2
  4. 2.3
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:


Converts all media gallery tags to attach tags.

This add-on is used to convert all media tags to attach tags. It will check every post on your forum and if a media tag is found, the add-on will replace it with an attach tag.

Also see the Convert image media gallery v1.2 add-on located for more information:

(Example of media gallery tag)


(Example of attach tag)


How to use:

This add-on is run from CLI only.

Log into your terminal and change to the directory where you have your XenForo installed. Use this command:

php cmd.php xf-rebuild:convertimagemediagalleryall

Question and Answers:

Q: Are media gallery attachments reused?
A: No. Each post attachment is saved separately which ensures that if the media gallery attachment is deleted the attachment in the post remains.
First release
Last update


0.00 star(s) 0 ratings

More resources from AndyB

Latest updates

  1. See description

    Convert image media gallery all v1.2 changes: Now skips creating attachment if media gallery...
  2. See description

    Convert image media gallery all v1.1 changes: Attachment tables xf_attachment and...
Top Bottom