Mobile app version of vmapp.org
Login or Join
Ravi8258870

: Create a thumbnail screenshot of a website that is submitted to website directory I would like to know how to set the thumbnail of a screenshot of a website when someone submits that site

@Ravi8258870

Posted in: #Screenshot #Thumbnail

I would like to know how to set the thumbnail of a screenshot of a website when someone submits that site to my directory. It would need to be automatically generated.

See an example

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Ravi8258870

2 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

I use Selenium and Firefox.

Selenium is a browser automation scripting framework with an API so that it can be called from a variety of programming languages. It allows you to remote control Firefox:


Create a new window of a specific size
Open a URL in that window
Save the visible portion of the webpage to an image (like a screenshot)


To make this work on a server, you have to get Firefox running "headless" in a virtual frame buffer.

10% popularity Vote Up Vote Down


 

@Bryan171

There is a good service to do this but I'm afraid it's not available in English (only French or Spanish): robothumb.com.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme