Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Javascript only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Javascript
html2image code
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
ranchhod
New Member
Join Date:
Jan 2006
Posts:
1
#1
html2image code
Jan 26 '06, 05:36 PM
i want a code for converting a selected portion of the html page into image file using javascript or php
Niheel
Recognized Expert
Moderator
Top Contributor
Join Date:
Jul 2005
Posts:
2433
#2
Feb 3 '06, 09:11 PM
You mean like take a screenshot? That would be hard to do; i believe.
niheel @ bytes
Comment
Post
Cancel
acoder
Recognized Expert
MVP
Join Date:
Nov 2006
Posts:
16032
#3
Jun 9 '08, 11:34 AM
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.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment