add img support
add exception dialog