Added support for image upload fields in metaboxes