1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed Can't Attach Own Images from Another DiscussionMessage

Discussion in 'Resolved Bug Reports' started by vbresults, Oct 20, 2015.

  1. vbresults

    vbresults Well-Known Member

    I can't attach my own images from another DiscussionMessage [i.e. Post, Profile Post] by copying the BBCode. Instead, I just see the alt-text with a link to the attachment. If I directly link, it works.

    p.s. This may also extend to conversations.
    Last edited: Oct 20, 2015
  2. Chris D

    Chris D XenForo Developer Staff Member

    This is how the system is designed.

    Posts are fetched from the database along with, taking into account various permissions, the attachment record/data which are attached to those posts. If you try to use an attachment from another item of content, we won't have fetched the record/data for that attachment, we won't have checked permissions for that attachment, hence a simple link is shown instead.

    It will absolutely apply to conversations, too. Attachments in conversations can only be viewed by the participants of the conversation.
  3. vbresults

    vbresults Well-Known Member

    What about just auto-converting it to an image tag then?
  4. Mike

    Mike XenForo Developer Staff Member

    That will lead to broken image placeholders for users that can't view the attachment. We don't recommend trying to embed attachments via IMG tags.

Share This Page