AndyB Convert image media gallery

AndyB Convert image media gallery 1.3

valaiVerified member

Administrator

Staff member
Reputation: 66%
Description :

Converts media gallery tags to attach tags.

When the gallery embed button (camera icon) is used to insert images into a post, by default these tags are inserted as media tags. The problem with this approach is that when viewing a thread and clicking on an image which has been linked to media gallery, the image is opened in media gallery instead of a lightbox. This add-on converts media tags to attach tags so the user always remains in the thread and clicking an image always open in a lightbox.

Example of media gallery tag :

AndyB Convert image media gallery-1.webp


Example of attach tag :

AndyB Convert image media gallery-2.webp


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.

Convert image media gallery v1.1 changes : Code now only runs if post message is new or edited.

Convert image media gallery v1.2 changes : Updated abstracted file system code.

Convert image media gallery v1.3 changes :
- Attachment tables xf_attachment and xf_attachment_data are now updated more accurately to reflect original post date and post user id.
 

Attachments

Similar threads Most view View more
Back
Top