所以我有示例网址http://citrine.rcd.dev:8080/image/1582_125x125.jpg
它是用以下代码构建的:
public string GetDerivativeUrl(long imageId, bool preserveTransparency, DerivativeSize size, bool allowCache, string designTags, int quality)
{
string tags = (designTags == null || designTags.Trim().Length == 0) ? "" : designTags;
string imageFormat = (preserveTransparency) ? "png" : "jpg";
if (quality > 0)
return String.Format("{0}/image/{4}{1}_{2}.{3}?qv={5}", GetUrlPrefix(imageId, allowCache), imageId, size.GetPixelSize(), imageFormat, tags, quality);
return String.Format("{0}/image/{4}{1}_{2}.{3}", GetUrlPrefix(imageId, allowCache), imageId, size.GetPixelSize(), imageFormat, tags);
}
我想http://citrine.rcd.dev:8080/image/1582.jpg
从http://citrine.rcd.dev:8080/image/1582_125x125.jpg
我该怎么做呢?