Clean up image upload widget a little

Signed-off-by: Adam Lord <adam.lord@gmail.com>