PrateekSaxena Posted December 29, 2006 Share Posted December 29, 2006 Hi,I need to make something that would be able to create a thumbnail of an HTML page if the HTML code is given. Say for example if the HTML code is - <html><body><h1>this is some text</h1><p>thiis is some para text. thiis is some para text. thiis is some para text. thiis is some para text. thiis is some para text. thiis is some para text. thiis is some para text. </p><img src="http://geocities.com/psaxena_17/197.jpg"/></body></html> Then it should be able to make its thumbnail that would be something similar to this - Is this possible??? Link to comment Share on other sites More sharing options...
Webworldx Posted December 29, 2006 Share Posted December 29, 2006 Not with Javascript unless you want to start iframing things and doing some complex math to shrink the pictures, text, table size etc that you've written.I'm not too hot on PHP, but maybe the GD libraries have a feature like this? If it can screenshot server side, then shrink and save, you might have what you want. Link to comment Share on other sites More sharing options...
PrateekSaxena Posted December 29, 2006 Author Share Posted December 29, 2006 cud rovide any help...not neccessarily JS Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now