Forum Moderators: coopster

Message Too Old, No Replies

Replicate digg image functionality

instead of just the webpage thumbnail

         

HiHo

7:59 am on Jul 7, 2008 (gmt 0)

10+ Year Member



Hi,

does anyone know if there is a library that scans all the media in a webpage to let the user choose which thumbnail display? such as digg is doing now.

any clue?

eelixduppy

7:58 am on Jul 8, 2008 (gmt 0)



I'm not sure I understand what you are referring to, can you please elaborate?

danbair

9:07 pm on Jul 9, 2008 (gmt 0)

10+ Year Member



If you're familiar with CURL in PHP, you can fetch the contents of a page and write some nice regex to find all of the images within the page.

eelixduppy

9:17 pm on Jul 9, 2008 (gmt 0)



Wouldn't even need to use cURL; could use something as simple as file_get_contents [php.net].