How are forum attachments called?

whenever a new thread or reply is made, check to see if attachments, upon redirection or ajax update, send flag to trigger "export images?" with the post id
We have a game on the site. Visitors can compare two pictures side-by-side and vote. However; when someone starts a new thread or comment and it has a image, it will ask if they want to include that into our game. However, where can you hook into the action to grab the attachments? There is no ajax or iframe call in the template.


Well-known member
You can fetch images from xf_attachment. I believe there is a datawriter you could hook into, but I do not have the code in front of me.