Hi!
There seems to be a problem using a master page. I have no problem running it as stand-alone. Never mind - since the upload is going to be on a password protected admin page there is no need for the master page.
I need this to work now, so I'll settle for that solution.
I have a question about categories - but I'll add that as a new topic.
Thanks!