how to create website thumb nail using PHP?

余生颓废 提交于 2019-12-11 09:16:17

问题


I do have a code with me couple of years back to create a website thumbnail using PHP in windows. But I cant find the same now is there anybody has a code to generate same on Windows?? or some Ideas to capture a website preview??


回答1:


Try checking out this PHP class. It's one of the only ones I know that does this sort of thing.

http://www.phpclasses.org/package/4608-PHP-Take-screenshots-of-pages-with-Internet-Explorer.html

Best of luck!




回答2:


if working on windows hosting use

(http://www.zubrag.com/scripts/website-thumbnail-generator.php.)

Note( it only works with windows hosting). It does not work with linux hosting.The reason

behind this is the php iamge function(imagegrab) only works with windows Environment

->third party API service Provider which are very much efficient and very easy to use

  1. http://www.bitpixels.com/

  2. http://pagepeeker.com/



来源:https://stackoverflow.com/questions/4629587/how-to-create-website-thumb-nail-using-php

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