Welcome Guest, Not a member yet? Register   Sign In
OT: Grabbing website thumbnails
#1

[eluser]Daniel H[/eluser]
This is OT for CI, but does anyone know how Facebook and Digg grab thumbnails from a given URL, allowing the user to illustrate their share/submission?
#2

[eluser]Lone[/eluser]
You could use cURL (if installed in your php) to read a remote files contents. Below is a good link to something similar you are talking about with images:

http://curl.haxx.se/libcurl/php/examples/resizejpg.html

Or you can use fopen as well but from memory cURL is the safer option.
#3

[eluser]Daniel H[/eluser]
Great stuff - thanks for your help.
#4

[eluser]gunter[/eluser]
Alexa Site Thumbnail

The Alexa Site Thumbnail web service provides developers with programmatic access to thumbnail images for the home pages of web sites. It offers access to Alexa's large and growing collection of images, gathered from its comprehensive web crawl.

http://www.amazon.com/gp/browse.html?node=236156011
#5

[eluser]geshan[/eluser]
Is there any fast and Free solution with a class or something. From which I can get the thumbnail of the page of a given URL?
#6

[eluser]woopsicle[/eluser]
http://stylizedweb.com/2008/04/26/websit...-services/

see if you can find something here




Theme © iAndrew 2016 - Forum software by © MyBB