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
  • 12,139
  • 38
  • 147
  • 231

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
  • 16,217
  • 6
  • 61
  • 88
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,458
  • 3
  • 30
  • 44
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,854
  • 11
  • 55
  • 70
Andrew Grothe
  • 2,562
  • 1
  • 32
  • 48