【发布时间】:2021-05-22 03:18:00
【问题描述】:
我正在使用imageresizer,但是图像上有一个红点,虽然我没有使用任何付费插件,以下是我正在使用的插件:
- ImageResizer.dll
- DiskCache.dll
- PrettyGifs.dll
下面是我的图片查询字符串:
image.jpg?w=100&h=50&mode=crop
虽然我也尝试过不裁剪,但结果仍然相同。我检查了 debug.ashx,它说我正在使用 Performance Edition 插件,但是除了上面之外我没有任何插件。它还提到了
You are using <licenses licenseError='Watermark'>. If there is a licensing error, an red dot will be drawn on the bottom-right corner of each image. This can be set to 'Exception' instead (valuable if you are storing results).
任何人都可以建议,为什么会出现红点。
【问题讨论】:
-
听起来您确实遇到了错误消息所称的“许可错误”。看这里:ImageResizer: Installing a License Key 和 here。注意:仅仅因为您安装了“Performance Edition”(DiskCache 和 PrettyGifs 是其中的一部分)……并不意味着您已经正确配置了许可证。上面的 ImageResizer 链接有几个很好的故障排除技巧。
-
好的,目前我的要求是用我提供的宽度和高度裁剪图像,我可以使用免费版的 imageresizer 来实现吗?裁剪与 DiskCache 和 PrettyGifs 有什么关系,以及我如何删除它,只是我需要删除 web.config 中具有 DiskCache 和 PrettyGifs 插件的调整大小部分吗?
标签: asp.net imageresizer