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

XF 1.4 Edit Attachment

Discussion in 'XenForo Questions and Support' started by raul_, May 27, 2015.

  1. raul_

    raul_ Member

    Can Admin edit an attachment uploaded by other user?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Attachments can only be deleted via the interface in the ACP.

    The post has to be edited in order to edit/change (delete and upload) attachments.
     
  3. raul_

    raul_ Member

    ok, thanks,

    the attachments save in /data/attachments/0
    but if i download one of them and edit in my computer and upload and remplace don't change the attachment
    ┬┐why?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Depending on the attachment type and the changes you are making, database changes may also be required, so I wouldn't recommend that approach unless you understand exactly what needs to be changed.
     
  5. raul_

    raul_ Member

    it's an image, i want to edit an image that is uploaded by an user and upload the edit image
     
  6. raul_

    raul_ Member

    I download the image attachment, edit with the changes and upload with the same name in the same path, but in the forum the image don't change, I don't understand
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Images are stored in two different directories, as full size and thumbnail.
    In addition specific information relating to the file is stored in the database.

    Again, if you don't understand exactly what needs to be changed, I would recommend against that approach.

    Simply edit the post, delete the existing attachment and upload a new one.
     
  8. raul_

    raul_ Member

    ok, thanks
     

Share This Page