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.

PHP Website Screenshot Script

Discussion in 'PHP' started by mudanoman, Jun 28, 2006.

  1. #1
    Hi,

    I was curious if there is anyway to create website screenshots on the fly via a php script.

    Thanks,

    Ivan
     
    mudanoman, Jun 28, 2006 IP
  2. webbist

    webbist Peon

    Messages:
    89
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't even think there is a foreign PHP extension for this. I tried doing some research as I wanted to do something similar, but as far as to my knowledge, you can't do this in PHP.. I'm sure it's possible in a language, just not PHP.
     
    webbist, Jun 28, 2006 IP
  3. sarahk

    sarahk iTamer Staff

    Messages:
    28,494
    Likes Received:
    4,457
    Best Answers:
    123
    Trophy Points:
    665
    #3
    sarahk, Jun 28, 2006 IP
  4. dddougal

    dddougal Well-Known Member

    Messages:
    676
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    108
    #4
    I think you could do this with CSS, not really sure how tho.....Sorry that doesnt really help does it.
     
    dddougal, Jul 4, 2006 IP
  5. reza56

    reza56 Active Member

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #5
    I serached very hard for this. but I found that is impossible when I don't access to server root.
     
    reza56, Jul 6, 2006 IP
  6. Allan

    Allan Peon

    Messages:
    41
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    screenshot of your website or other sites. You might want to investigate doing this on the client not on the server, since you have to render the html into pixels, maybe firefox extension
     
    Allan, Jul 8, 2006 IP
  7. sarahk

    sarahk iTamer Staff

    Messages:
    28,494
    Likes Received:
    4,457
    Best Answers:
    123
    Trophy Points:
    665
    #7
    Allan, there are stacks of tools to do that from the client. I need to do it for my directory so I want it to be serverside - ie run monthly to get a fresh shot. I suspect mudanoman (with the very cool avatar) has the same requirement.
     
    sarahk, Jul 8, 2006 IP
  8. derherrno

    derherrno Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    hi there!

    i'm searching for that kind a stuff too.
    found some interessting projects, that may help u:
    (only available in german:)

    http://www.thumbshots.de
    after using the update-service, it worked very well for me.

    all the best from austria!
     
    derherrno, Jul 18, 2006 IP
  9. DrMalloc

    DrMalloc Peon

    Messages:
    130
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I've actually written scripts in the past to do this, for testing how the same page loads in a dozen browsers/versions without having to load them all seperately, it isn't exactly easy though. I'll give you some links that'll get you started. Personally i used the Xorg/X11 framebuffer server (Xvfb) and started up FireFox/Opera to use it as the display and load the requested page. Then i dumped the screen to a file and converted to PNG/JPEG.

    http://www.debian-administration.org/articles/413 - there's a debian guide
    http://brad.livejournal.com/2015327.html - a livejournal thread on it
     
    DrMalloc, Jul 19, 2006 IP
  10. Rogem

    Rogem Peon

    Messages:
    171
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I've just found a website where this has been done. I have no idea how they managed it though ¬¬

    I just tried using those Alexa thumbnails but they seem to be wanting money for hosting them...
     
    Rogem, Jan 19, 2007 IP
  11. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #11
    TwistMyArm, Jan 19, 2007 IP
  12. thumbnailspro

    thumbnailspro Peon

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I've recently developed a site thumbnailspro, you can request thumbnails from any site and i think applications too using img src="http://thumbnailspro.com/thumb/http://yoururl.com&S=250"
    &S=Size you can adjust size from 10pixels to 1000pixels as far as we've tested, don't know why a site would request a thumbnail larger than 1000 pixels???
    It's only been up for a few months but doing really well and highly stable so far... feel free to try it out, its FREE while in BETA testing, thats
    thumbnailspro
     
    thumbnailspro, Jul 13, 2007 IP
  13. Erik

    Erik Peon

    Messages:
    27
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    This thumbnail script is awesome! Just what I was looking for. Thanks a lot!
     
    Erik, Jul 24, 2007 IP
  14. sarahk

    sarahk iTamer Staff

    Messages:
    28,494
    Likes Received:
    4,457
    Best Answers:
    123
    Trophy Points:
    665
    #14
    thumbnailspro certainly looks good but until they release their non-beta pricing serious users won't touch them. After all by the time you've integrated them into your site you aren't going to want to rip it out again if you find the pricing is out of kilter.
     
    sarahk, Jul 24, 2007 IP
  15. Andy Peters

    Andy Peters Peon

    Messages:
    430
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
  16. sarahk

    sarahk iTamer Staff

    Messages:
    28,494
    Likes Received:
    4,457
    Best Answers:
    123
    Trophy Points:
    665
    #16
    Andy - any restrictions or TOS?
     
    sarahk, Jul 24, 2007 IP
  17. Andy Peters

    Andy Peters Peon

    Messages:
    430
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Not that i know of. Even this forum uses it.
     
    Andy Peters, Jul 24, 2007 IP
  18. thumbnailspro

    thumbnailspro Peon

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    http://thumbnailspro.com/pricing.php
     
    thumbnailspro, Aug 2, 2007 IP
  19. Andy Peters

    Andy Peters Peon

    Messages:
    430
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #19
    http://msnsearch.srv.girafa.com/srv/i?i=%204ac8babd1cf73ace&s=MSNSEARCH&cy=en-us&r=http://www.YOURWEBSITE.com
    Code (markup):
    :) Works perfect.
     
    Andy Peters, Aug 3, 2007 IP
  20. Jezek

    Jezek Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Ah nice, the msn way works perfectly.
     
    Jezek, Aug 3, 2007 IP