add error handling to thumbnail cfm, return tp.gif if no imgae path is passed in