i noticed that media files uploaded into the media library of wp 2.5 upwards are associated with the post you were editing while doing so.
if you look under: manage > media library, the files have a column: "appears with", means there is a database entry to note while files go where.
isn't there a template tag to call up the images associated with a certain post? i imagine it'll be within the loop. why have this? it'll allow wordpress to natively support photoblogging!
related forum post here: http://wordpress.org/support/topic/192074