homepage Welcome to WebmasterWorld Guest from 54.211.100.183
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Replicate digg image functionality
instead of just the webpage thumbnail
HiHo

10+ Year Member



 
Msg#: 3691987 posted 7:59 am on Jul 7, 2008 (gmt 0)

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

WebmasterWorld Senior Member eelixduppy us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 3691987 posted 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

5+ Year Member



 
Msg#: 3691987 posted 9:07 pm on Jul 9, 2008 (gmt 0)

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

WebmasterWorld Senior Member eelixduppy us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 3691987 posted 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].

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved