1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Website Screenshot Thumbnails

Discussion in 'PHP' started by TextAdMarket, Jun 5, 2008.

  1. #1
    I'd like my website to store 100x100 thumbnails for various URLs in my database.

    From what I've read so far, this isn't really feasible with PHP on a Linux computer. Is there a reliable service that can do this for a monthly fee? I'd like to be able to download the thumbnails to my own server after they are created.

    Or another solution, is, I could setup a windows/php server in my home, that will automatically create screenshots every hour based on the queue, and then send them to my web server. But, I don't really know where to begin.

    Thoughts?
     
    TextAdMarket, Jun 5, 2008 IP
  2. ecentricNick

    ecentricNick Peon

    Messages:
    351
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have a look at thumbshots.org
     
    ecentricNick, Jun 6, 2008 IP
  3. Lordo

    Lordo Well-Known Member

    Messages:
    2,082
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    190
    #3
    Lordo, Jun 6, 2008 IP
  4. TextAdMarket

    TextAdMarket Peon

    Messages:
    520
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Girafa was $20 /month. Seems a bit high.

    Thumbshots.org wants a text ad link on my homepage to use their services. Not possible in my case.

    I'm using SnapCasa.com right now, but it isn't the most reliable. I would really like to have screenshots generated on the fly if possible.
     
    TextAdMarket, Jun 6, 2008 IP
  5. Lordo

    Lordo Well-Known Member

    Messages:
    2,082
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    190
    #5
    Girafa won't charge you until your traffic reaches something.
     
    Lordo, Jun 6, 2008 IP
  6. TextAdMarket

    TextAdMarket Peon

    Messages:
    520
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I'll give it a try. How easy would it be for me to download the created thumbnails to my server? (assuming they allow that) Also, do you know how long it takes for them to create a screenshot? (is it instant, 5 mins, or queued for hours?)
     
    TextAdMarket, Jun 6, 2008 IP
  7. Lordo

    Lordo Well-Known Member

    Messages:
    2,082
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    190
    #7
    Well, it is quite easy to store the images. And it takes like a few hours to create new thumbs but it takes ages to update them :) That is the down about it.
     
    Lordo, Jun 6, 2008 IP
  8. TextAdMarket

    TextAdMarket Peon

    Messages:
    520
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I signed up, but their instructions on how to generate the MD5 hash for each URL are very confusing. Sometimes it works and sometimes it doesn't work.
     
    TextAdMarket, Jun 6, 2008 IP
  9. TextAdMarket

    TextAdMarket Peon

    Messages:
    520
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #9
    TextAdMarket, Jun 6, 2008 IP
  10. Lordo

    Lordo Well-Known Member

    Messages:
    2,082
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    190
    #10
    I am more than happy to be a beta tester for your service :)

    I didn't work with them but the user notes seem helpful in addition to the examples. Notice that there is a similar function imagegrabscreen which might be faster.
     
    Lordo, Jun 6, 2008 IP
  11. TextAdMarket

    TextAdMarket Peon

    Messages:
    520
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Oh thank you! Glad to see more people joining TextAdMarket. (I have a really cool marketplace I'm building at the moment for TextAdMarket. Once I finish this screenshot business, I think it will boost the usefulness of my site.)
     
    TextAdMarket, Jun 6, 2008 IP
  12. TextAdMarket

    TextAdMarket Peon

    Messages:
    520
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I ended up building my own WAMP server. Working really well so far. I have it taking screenshots in IE. It makes the browser go fullscreen, but I can't seem to get rid of the scrollbars. I'm not very family with the COM() function in php. Ideas?

    Here is my code:
     
    TextAdMarket, Jun 7, 2008 IP
  13. Lordo

    Lordo Well-Known Member

    Messages:
    2,082
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    190
    #13
    Wow I am glad it worked for you straight!
    Yes in the PHP page of this function or the other you will find a user note that is very useful.

    Can you tell how fast the process is going? How long does it take it for a snapshop?
     
    Lordo, Jun 7, 2008 IP
  14. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #14
    http://forums.digitalpoint.com/showthread.php?p=7786983#post7786983
     
    Danltn, Jun 7, 2008 IP
  15. stuart

    stuart Guest

    Messages:
    184
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #15
    stuart, Jun 7, 2008 IP
  16. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #16
    Good to hear it, it all works fine, which is the main idea when you're doing tricky stuff like screenshots, but some of the code isn't ideal.

    I'll have a quick look over it when it gets accepted by PHPClasses.org and provide a new link for you to that then.

    Enjoy, Dan
     
    Danltn, Jun 7, 2008 IP
  17. TextAdMarket

    TextAdMarket Peon

    Messages:
    520
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Thanks for all the tips and examples guys! I have it all working, and was able to crop out the scrollbars that IE puts in there. Working like a charm, pumping out a screenshot every 5 seconds. I was also able to turn this into a scheduled task on my WAMP server so it takes new screenshots automatically every few minutes.

    I'll be adding these thumbnails to the marketplace listings on TextAdMarket.com tomorrow. Website screenshot thumbnails bring more life to directory-type pages.
     
    TextAdMarket, Jun 8, 2008 IP
  18. TextAdMarket

    TextAdMarket Peon

    Messages:
    520
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #18
    TextAdMarket, Jun 12, 2008 IP
  19. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #19
    Danltn, Jun 12, 2008 IP