improve setimagewithurlstring to load local image