I want to alter wordpress to be able to insert a thumbnail for each page that i post. I have a new table that has two columns: ID & userfile_name.
In the ID field i will have the ID of the page be inserted into that and the userfile_name is the filename of the thumbnail i want to upload. I have the image uploading script and i know it works cause i use it all the time.
basicly i want to set that script to run if(isset($_POST['post']): (post being the name of the form you submit when you submit a page.
My problem is i can't seem to include the script anywhere to make it trigger. Any idea's?