Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是这种情况...
在 Rails 应用程序中,您在文本框中键入 URL,结果应该会附带,该 URL 页面的屏幕截图为 JPG,一些元标记,如标题、URL、图标、描述……或 rails 可以做的任何事情或我可以得到。
轨道如何做到这一点?或者我如何获取 URL 的屏幕截图???
详细的答案会很有帮助,我对 Rails 很陌生。谢谢
您可以使用 IMGKit 为特定 URL 生成缩略图/屏幕截图
https://github.com/csquared/IMGKit