get img url from element