使用 asp.net 2.0 从 url 创建缩略图

发布于 2024-08-01 14:51:33 字数 100 浏览 4 评论 0原文

任何人都可以帮助我如何从网址创建缩略图。

当用户保存链接时,我想将网页的屏幕截图显示为缩略图

我正在使用 asp.net 2.0

谢谢

Can any one help me on how to create a thumbnail from a url.

when the user saves a link, i want to show the screenshot of the web page as a thumbnail

i am using asp.net 2.0

Thank You

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

半夏半凉 2024-08-08 14:51:33

如果您需要自己执行此操作,则可以在 ASP.NET 应用程序中使用 Winforms WebBrowser 控件,但有一些注意事项:

  • 它需要在单线程单元线程中运行
  • 它可能无法在所有页面上工作,例如需要Javascript 或 Flash 交互

以下是一些演练的链接:

If you need to do this yourself, you can use the Winforms WebBrowser control in an ASP.NET application, with a few caveats:

  • It needs to run in a single threaded apartment thread
  • It might not work on all pages, such as pages which require Javascript or Flash interaction

Here are a few links to some walkthroughs:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文