Generating thumbnail URLs.