XF 2.2 How do I reuse attachments across multiple threads?

CBI Web

Well-known member
I'm using icons in a support forum, and I need to use these icons in more than one thread.

Rather than dragging & dropping an icon into thread A, then drag & drop it again in thread B, and then drag & drop it again in thread C, is there a way to just reuse the icon in any thread I need it for?

For instance, in thread A I have an icon that is identified as:
Code:
[ATTACH type="full" alt="screenshot-A.png"]45[/ATTACH]

When I drag & drop the same icon into thread B, it is identified as:
Code:
[ATTACH type="full" alt="screenshot-A.png"]50[/ATTACH]

So I end up with multiple copies of the same image on the server, which just takes up space.
 

Brogan

XenForo moderator
Staff member
Use the embed bb code for attachments which already exist: [IMG]https://xenforo.com/community/styles/default/xenforo/xenforo-logo-og.png[/IMG]
 

CBI Web

Well-known member
Okay I'm lost. After searching these forums, and looking at the admin.php?button-manager, I see nothing that helps me know where that is nor how to enable it or add it or whatever I need to do to use it.
 

Brogan

XenForo moderator
Staff member
There's nothing to enable.

Get the URL for the attachment (right click, open in a new tab) and embed it using IMG tags.

[IMG]https://xenforo.com/community/data/attachments/0/508-dc6ce11d0f27096f5cf07a109c81ccb0.jpg[/IMG]

508-dc6ce11d0f27096f5cf07a109c81ccb0.jpg


This is the relevant button:

1617978980242.png
 

CBI Web

Well-known member
Oh.... so I was looking for an "embed" icon or the [EMBED] bb code, lol.

You must have added to your original reply and I hadn't refreshed the page to see it.

Thank you.
 

briansol

Well-known member
if these are commonly used, and small, it might make sense to make them emoticons and just don't show them in the list to users.

then you can just :tagyourpost: nice and easy
 
Top