>>
Site Map
>>
Forums
>>
PHP+MySql
Forum module - topics in forum:
PHP+MySql - Coding mã nguồn mở rât thông dụng để làm web, và hệ thống cơ sỏ dữ liệu rất mạnh duợc ưa chuộng
PHP tạo hinh chụp trang web trên mạng
Nowadays a lot of webmasters are looking for a website snapshot tool in order to make data presentation more attractive to their visitors. Examples of usage could be target website thumbnail in the search results, on the product details page, etc. Making website thumbnail manually is a routine process, needs much time, and for big sites can lead to hiring someone dedicated mostly to making website thumbnails for their needs. Below we'll provide some suggestions on automating this process.
Automation can be done in few ways.
1. Grab website thumbnail images from other sites.
Some search engines, like
http://www.alexa.com, http://www.exalead.com, etc. provide us with website snapshots. Special utility can be written in scripting language (like PHP, Perl, etc.) to grab website image from their search results.
Pros:
* cheap solution
* small server load since you do not need to create thumbnails on your server
Cons:
* you become dependent on third-party servers
* most likely you will only be able to get thumbnail for the top page only. These are not generating thumbnails for subpages.
* may slow down your pages load if remote server is performing slow
* some of them can ban your IP for this type of activity. Your tool can use anonymous proxies, but it will slow down page load
* you will not be able to get website thumbnail if thumbnail was not generated yet on provider's site. This means you will often receive "No thumbnail" images.
* thumbnails are usually of predefined size which may not feet your needs
2. Use existing website thumbnail creator services/tools.
Some website thumbnail/snapshot creator tools are currently available for free. You should place a block of provided html on your page and it will show thumbnail (hopefully).
The example could be a PHP tool from artViper (http://www.artviper.com/tools.php). It is said that it's a PHP script utilizing a C++ coded DLL to generate website thumbnail.
Another example of free website thumbnail creator service would be
http://www.websitethumbnails.net
Pros:
* free (only basic functionality)
* small server load since you do not need to create thumbnails on your server
Cons:
* you become dependent on third-party servers (sometimes they can be even down)
* most likely you will only be able to get thumbnail for the top page only. Mostly these are not generating thumbnails for subpages, need to pay for extra features.
* may slow down your pages load if remote server is performing slow
* you will not be able to get website thumbnail if thumbnail was not yet generated on provider's site. This means you will often receive "No thumbnail" images.
* thumbnails are usually of predefined size which may not feet your needs
* need to pay for extra features like true color thumbnails, image format, etc.
3. Have your own website thumbnail generator utility.
Solution would be to use/write a custom program which would run on your hosting server, using some browser to render a website thumbnail. The process would look as follows.
* Custom written tool receives request to generate website thumbnail for site-thumbnail.com
* It opens browser (as a process invisible to your visitor) on your hosting server, and feeds it with site-thumbnail.com
* Grabs website screenshot from browser (i.e. it gets website thumbnail), and saves it as thumbnail for later use.
Pros:
* you are not dependent on anyone, full control over thumbnail
* fast, since you do not need to go to another server to get thumbnail
* relatively cheap solution (think it would be more expensive than solution #1)
* can create thumbnail for any page you want, topmost, subpage, etc.
* possibility of making it payed service
Cons:
* may cause high server load since tool will create thumbnails on your server
* may be incompatible with some hostings
* hosting which allows such type of activity is usually more expensive
=================
Website Thumb Generator can be used to create website thumbnails for your needs, or start your own website thumbnail generation service.
Requirements:
* Windows hosting
* PHP GD library (installed on most hostings)
* Permissions to execute third-party applications (i.e. exe files)
* Permissions to execute Internet Explorer
How it works:
* Website Thumbnail Generator checks if it already has website image in the cache, and shows it in the browser.
* If no cached image then IECapt would be run from the script.
* IECapt would run Internet Explorer, grab full sized website screenshot from it, and save image into the folder you specified in script settings.
* Then Website Thumbnail Generator would resize image, and show it in the browser.
Installation:
* Download IECapt from *http://iecapt.sourceforge.net or from our site: file attachments. Place it in some folder on your server.
* Download Website Thumbnail Generator using link below, and unzip it to the same folder.
* Update webthumb.php with your settings for thumbnails folder, cache time, default thumbnail size, etc.
Sample usage:
* webthumb.php?url=http://www.microsoft.com
* webthumb.php?url=http://www.thumbnails.com&x=150&y=150
other soft and web tool similar function must see
http://www.webshotspro.com/
This thread may help if ImageMagick, Mozilla
, Xvnc (as Virtual X server) available on your hosting
http://studio.imagemagick.org/discussion-server/viewtopic.php?t=5973
alpha stage.
http://browsershots.org
http://www.checkbit.co.uk/webthumbler/
http://images.websnapr.com/?url=your-website-url
http://thumboo.com/?url=YOURDOMAIN&size=m
Girafa actually offers 2000 free images a day, check it out on their website.
https://tserver.girafa.com/sec/signup.acr?fp=1
PageVisualize Website Image Capture SDK soffware
http://www.pagevisualize.com/