smart image view basic library and sample