Log in

View Full Version : Attachment thumbnail hook/hack advice


d1150488
11-27-2007, 09:28 PM
Hi all,

I could use a little help if possible.

I want to execute some code at the point of displaying each thumbnail in a post. I want to be able to run an ajax request based on the attachment id, and return/update some my own information from a custom table. The problem is that i can't see a way of including code at the point and be able to access what the 'current' attachmentid is that i want to deal with.

I think i'm having a bit of a mental block here. Thanks in advance for giving a newbie some help. :)

--------------- Added 1196206422 at 1196206422 ---------------

I'm a complete idiot. Ignor me.... Sorry for wasting your time. Just as after i posted, it clicked.