add UIImage Smarty Support