New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
website thumbnail generator
I'm looking for recommendations for a website thumbnail generator. It's for generating thumbnails in DomainAgent. Any size would do, and it has to be free.
Any help appreciated!
Comments
Most of the free services can be bogged down (slow response) due to mass requests.
I'd recommend using PhantomJS to capture your own screenshots/thumbnails. All you have to do is download the binary (1 file, and works on any Linux OS).
With PhantomJS, you're looking at 100 MB ram usage on OpenVZ.
^ New versions of PhantomJS are true headless (no X11), but they no longer capture flash. If you wish to capture flash within screenshot/thumbnail, you'll need to build v1.4.1.
Note: You could easily create your own API for your project
could always use shrink.munroenet.com/shrink.php
Example format: http://shrink.munroenet.com/shrink_new.php?img=http://forums.gaming-servers.net/uploads/FileUpload/87/4484b8a8122186ea2c79e6b511757b.png&comp=35&h=400&w=300
where:
img= URL path
comp= compression percent
h= height
w= width
I might make the script open source, but im not fully happy with it
Mun
I wrote this a while ago and it served me well. Returns a 320x240 jpeg image. Probably Google doesn't like it, but, eh.
I think your script is for resizing images, much like timthumb, but doesn't generate the website screenshot itself.
Is that "stealing" from Google Pagespeed? Nice. lol.
How to make it working?
Just an example, make sure you sanitize the title (if you're going to output it to the user) and the filename. You can add some more error cases if desired.
Speaking of abusing internal APIs, I think it might be possible to take advantage of Chrome World Wide Maze's website generation app. I'll take a look at it in a while.
As @telephone suggested, do it yourself with PhantomJS, it's very simple to use it and it works amazingly well.
Not a chance. It is a PHP script that is to be deployed by people which won't have a clue how to do it.
What I meant (and what @telephone suggested) is making your own API, I wouldn't rely on a third party public free API. Some time ago I was looking for the same thing, and whatever I found was either terribly slow, limited, or already dead.
nah, not going to reinvent the wheel
Check out http://snapcasa.com/
Its lists lots of sites that do it, last time i checked a number of them offered free / limited api levels.
I used a couple for a project once but ended up disabling the feature, as it wasn't the greatest idea in the end.
tried it already, most of them is crap, however this one looks primising:
http://pagepeeker.com/free-thumbnails/
You can leech off WP.com servers:
http://www.webmaster-source.com/2010/02/16/automated-website-thumbnails-via-wordpress-com/
I think you're looking for something like this: bitpixels.com
PagePeeker is a popular free one that I see used quite a lot. They put their logo in the bottom corner of the image tho unless you pay to use the service.