Jump to content

HTML Thumbnails...


PrateekSaxena
 Share

Recommended Posts

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 -

thumb.GIF

Is this possible???

Link to comment
Share on other sites

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

cud rovide any help...not neccessarily JS

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...