Website thumnails (screenshots)

半城伤御伤魂 提交于 2019-12-13 12:51:56

问题


I want to create website thumbnails (screenshots) using php. I have a dedicated server running centos 5.5 so I can install software on it.

I need a free solution to create thumbnails of websites on a production server without running X server. (If I was to run X server how much difference would it make to the performance).

I would also appreciate if you could provide me with any free web services which could help me get the website thumnails and download them to my server.


回答1:


Try this, I used it when I was building a site that required thumbnails of other websites:

http://www.thumboo.com/

Note that you will need to sign up for the API.

Hope this helps and that I understood your question




回答2:


To take a virtual screenshot of a website, use khtml2png. It uses libkhtml, the rendering engine used by the konquerer brower, and imagemagick.



来源:https://stackoverflow.com/questions/4581276/website-thumnails-screenshots

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!