• 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

Brogan

XenForo moderator
Staff member
#2
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
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?
 

Brogan

XenForo moderator
Staff member
#4
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.
 
#6
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
 

Brogan

XenForo moderator
Staff member
#7
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.