467,076 Members | 965 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,076 developers. It's quick & easy.

html2image code

i want a code for converting a selected portion of the html page into image file using javascript or php
Jan 26 '06 #1
  • viewed: 3660
2 Replies
Expert Mod 2GB
You mean like take a screenshot? That would be hard to do; i believe.
Feb 3 '06 #2
Expert Mod 8TB
Can't be done with JavaScript, but could be done in PHP with the GD library. You could make a selection on the page, pass the coordinates either via Ajax or a form submit and PHP can return the src of the generated image.
Jun 9 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

51 posts views Thread by Mudge | last post: by
9 posts views Thread by bigoxygen@gmail.com | last post: by
4 posts views Thread by jason@cyberpine.com | last post: by
16 posts views Thread by Dario de Judicibus | last post: by
109 posts views Thread by Andrew Thompson | last post: by
18 posts views Thread by Joe Fallon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.