PDA

View Full Version : Screenshot of URL



boomers
04-03-2007, 07:20 PM
Heya folks... for a while now Ive had www.netcritique.com (http://www.netcritique.com) which allows people to signup and post their website for review. At the moment people have to supply a screenshot of their website - well Ive since realised that some people do not totally understand this concept and instead upload banner images etc etc

So anyway a little while ago I came across some source code that allows you to automatically take a screenshot of an URL provided...

http://www.lookthisup.com/wax0r/auto%20screenshot.zip

Anyway... this works fine on my own PC but when I upload it to my hosting here it no longer works, I dont get a .NET error... rather it basically just times out. (www.myefinder.com (http://www.myefinder.com) to see for yourself)

Ive also been told about IECapt (http://iecapt.sourceforge.net/) but im 99.99999% sure this wouldnt work as it would mean running an executable from a shared hosting account - which would be crazy if we were allowed to do that ;)

I was just wondering if *anyone* knew why this would happen... or another way (without using a 3rd party site) to accomplish taking a screenshot of an URL from a web-based application.

siphilp
11-04-2007, 08:22 PM
hmmm might be a trust level thing as it's using the windows.forms namespace. Would have to play about with it at work to confirm. I came across this site here not sure if it's any use to you though

http://www.techcrunch.com/2006/11/18/add-snap-previews-to-any-site-for-free/

Hope this kinda helps :S

oh an this is my first post....


Si

Carl Shepherdson
11-04-2007, 08:33 PM
Welcome to the forum Si. :cap:

If I remember correctly Boomers submitted a ticket to the Helpdesk about this, Our guess would be that it is the WebBrowser control. The research We have done suggests that it doesn't work in a partial trust/medium environment. It's likely to be using IE etc behind the scenes, so probably isn't really suitable for shared hosting anyway.

siphilp
11-04-2007, 09:01 PM
thanks for the welcome.

Well hope the site i mentioned helps :)