SitePoint Sponsor |
|
User Tag List
Results 1 to 14 of 14
Thread: Is this possible in PHP ?
-
Jan 5, 2007, 19:46 #1
Is this possible in PHP ?
Is this possible in PHP ?
User wants to print some portion of image, for ex. user is having a big picture and then he selects some portion from that image using mouse or some editor and after selection he says Print then the output of print is the only selected portion.
All this using PHP only
Thanks
-
Jan 5, 2007, 19:48 #2
- Join Date
- Jun 2006
- Posts
- 133
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
-
Jan 5, 2007, 19:49 #3
but how user is going to make selection
-
Jan 5, 2007, 19:59 #4
-
Jan 5, 2007, 20:05 #5
any sample code for this will be great helpful for me at this time
-
Jan 5, 2007, 20:15 #6
- Join Date
- Jun 2006
- Posts
- 133
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If you want to stick with HTML/PHP, you could use <input type="image"> to send the coordinates where the user clicks, but you'd probably have to show the image once for each corner they need to select.
-
Jan 6, 2007, 00:28 #7
- Join Date
- Mar 2006
- Posts
- 6,132
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
try to find some web based image editors, or any webpage that lets you select an arbitrary box of some sort, and look at thier javascript code.
-
Jan 8, 2007, 11:53 #8
i tried searching but no luck, any1 having such links
-
Jan 8, 2007, 11:59 #9
- Join Date
- Nov 2002
- Location
- Maryland
- Posts
- 307
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
http://www.dhtmlgoodies.com/index.html?page=ajax
Click on the demo for the image cropper. This might be a start for you.
-
Jan 8, 2007, 12:00 #10
- Join Date
- Mar 2006
- Posts
- 6,132
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
-
Jan 8, 2007, 12:12 #11
looks good to me , am studying it
-
Jan 8, 2007, 14:26 #12
- Join Date
- Oct 2006
- Posts
- 132
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
http://www.hotscripts.com search for "php image manipulation".
Al
-
Jan 9, 2007, 17:02 #13
thanks everyone for good links
clamcrusher i found ur link very intresting also its using ASP but am not sure how to implement it , wht exactly they are using... i think javascript but from where should i start i dont know.
few tips will be more helpful for me.
Thanks
-
Feb 15, 2007, 15:36 #14
- Join Date
- Mar 2006
- Posts
- 466
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
simplecode,
Did you ever find a solution? I'm still researching this.
Brandon
Bookmarks