I took all the verifyid out and all the checks to ensure it wasnt it, calling it like this.
/attachments.php?filesid=33
I did something for the hell of it.
I uploaded through my script an attachment, then uploaded that same image through a post. So now both should hold the same filedata. The one shows up in a post. To see if it was getting corrupted in my upload script, I copied from dwipfiles (just that attachment filedata) over the one in attachment. Attachment still shows up fine and everything. So it appears its just the attachments.php file (my hacked one) to display images without the function call. I must be missing something =\
|