syntaxseed, #WordPress really didn't do anyone any favours by making EVERYTHING a post and stuffing everything into the Posts table.
I don't know how they talked themselves into the idea that Media uploads are 'posts' but this is really bad architecture.
(Coming from someone trying to do some fancy migrating of media.)