3

Possible Duplicate:
Website screenshots using PHP

I was wondering if it is possible to create a screen-shot-like preview of a website if given nothing other than a url?

Community
  • 1
  • 1
AnchovyLegend
  • 11,661
  • 33
  • 133
  • 222

3 Answers3

2

Yes, you can, please read the following stackoverflow questions:

generating-a-screenshot-of-a-website-using-jquery

website-screenshots-using-php

There are some tools with the goal of snapshotting the website to an image, so, using Jquery in conjunction with PHP you can achieve your goal!

Community
  • 1
  • 1
Zuul
  • 15,997
  • 6
  • 59
  • 87
0

Using only JavaScript/jQuery? Likely not, as that would violate the same origin policy. And even if you could, it's be challenging in JavaScript to make it into an image.

kevin628
  • 3,420
  • 3
  • 26
  • 43
0

You can use a service like BitPixels as well. Use JSONP if there are any same origin issues and it should be easy enough.

yprez
  • 14,226
  • 10
  • 54
  • 70
Andrew Grothe
  • 2,420
  • 1
  • 33
  • 44