Works, but image path not properly written in database
I worked my way through the Adding DFP to DA Insert and Update pages and have managed to get my insert listing page working. The listing details get written to the database, and the images get uploaded to the correct folder, but only the image name gets written into the database table, not the path/image name. What it should be showing in phpMyAdmin is (eg) craneimages/image01.jpg - instead it just shows image01.jpg.
I've got the image upload specified correctly (craneimages/) and I can't see where I would tweak the code so that the folder name gets appended to the front of the filename so it gets written correctly into the database.
The result is that on my results page I have missing image icons.
The insert page is attached. I'm using DMW8, incidentally - would that make any difference?