I know there have been threads about this in the past- but they kinda died out before being solved.
I have a virtual server hosted by ipower and I want to be able to enter in a url and have load a screenshot - via a php script. Is this possible... do i need to load firefox onto the machine, i don't even know if there is a monitor attached to it . Basically - i have no idea where to start.
~ Thanks in advance
Screenshot via php
Moderator: General Moderators
I've once read "WINDOWS SCRIPT HOST GRAND CRU" which had some package that allowed you to create a screenshot. So it hacked a quick script like http://timvw.madoka.be/programming/vbs/ ... ot.vbs.txt together.
Two issues:
1-) I can't find the tobtools.zip anymore.
2-) It doesn't scale to a large site (It depends on the fact that IE will have focus etc..)
In a *nix environment you don't need a monitor to make a screenshot. A working X server will do. For example, if you have firefox and imagemagick installed:
Two issues:
1-) I can't find the tobtools.zip anymore.
2-) It doesn't scale to a large site (It depends on the fact that IE will have focus etc..)
In a *nix environment you don't need a monitor to make a screenshot. A working X server will do. For example, if you have firefox and imagemagick installed:
Code: Select all
firefox http://example.com -display localhost:0 &
import -window root -display localhost:0 myfile01.pcx /home/user/website/screenshot.png
chmod o+r /home/user/website/screenshot.png
Last edited by timvw on Mon Aug 15, 2005 11:51 am, edited 1 time in total.