Click here to Skip to main content
15,885,914 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Serializing and DeSerializing datetime values in query string Pin
IrreverentCoder11-Nov-09 22:38
IrreverentCoder11-Nov-09 22:38 
GeneralRe: Serializing and DeSerializing datetime values in query string Pin
David Skelly11-Nov-09 23:14
David Skelly11-Nov-09 23:14 
GeneralRe: Serializing and DeSerializing datetime values in query string Pin
IrreverentCoder11-Nov-09 23:17
IrreverentCoder11-Nov-09 23:17 
GeneralRe: Serializing and DeSerializing datetime values in query string Pin
Oakman13-Nov-09 11:39
Oakman13-Nov-09 11:39 
General[Message Deleted] Pin
IrreverentCoder14-Nov-09 6:37
IrreverentCoder14-Nov-09 6:37 
GeneralRe: Serializing and DeSerializing datetime values in query string Pin
Oakman14-Nov-09 7:14
Oakman14-Nov-09 7:14 
QuestionUpload preview and resize an image Pin
M.A.Raheem10-Nov-09 0:08
M.A.Raheem10-Nov-09 0:08 
AnswerRe: Upload preview and resize an image Pin
Abhishek Sur10-Nov-09 21:02
professionalAbhishek Sur10-Nov-09 21:02 
It is not easy to achieve I guess. You need a strong knowledge on Javascript and ServerSide image resizing to do this.

Let me give you some hint from where to start :

Do a normal upload of an image file.
Put a div and load the image in its background using CSS
like background : url('imgurl')

Now place an absolute position div which allows you to resize just over the div you placed. you can adjust div.clientHeight, div.offsetLeft, div.scrollLeft to position the div on exactly over the image.

When user is done, you need to actually crop the image based on the size of the div which is floating above the div.

Cropping an image is not a big deal, there are lots of codes available for that, Just you need to find the actual value of the Rectangle that the user adjusted for cropping. Smile | :)
This might help you in this regard[^]

Wish you luck in this
Thumbs Up | :thumbsup:

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

GeneralRe: Upload preview and resize an image Pin
M.A.Raheem10-Nov-09 22:17
M.A.Raheem10-Nov-09 22:17 
GeneralRe: Upload preview and resize an image Pin
Abhishek Sur10-Nov-09 23:24
professionalAbhishek Sur10-Nov-09 23:24 
GeneralRe: Upload preview and resize an image Pin
M.A.Raheem12-Nov-09 1:36
M.A.Raheem12-Nov-09 1:36 
GeneralRe: Upload preview and resize an image Pin
Jayapal Chandran12-Nov-09 7:33
Jayapal Chandran12-Nov-09 7:33 
GeneralRe: Upload preview and resize an image Pin
M.A.Raheem12-Nov-09 22:12
M.A.Raheem12-Nov-09 22:12 
QuestionThrowing an error to abort javascript execution Pin
Jayapal Chandran9-Nov-09 19:47
Jayapal Chandran9-Nov-09 19:47 
AnswerRe: Throwing an error to abort javascript execution Pin
Eduard Keilholz11-Nov-09 22:54
Eduard Keilholz11-Nov-09 22:54 
GeneralRe: Throwing an error to abort javascript execution Pin
Jayapal Chandran12-Nov-09 7:22
Jayapal Chandran12-Nov-09 7:22 
NewsFree Windows Server 2008 R2 Developer Training Course on Channel 9 Pin
brucedkyle9-Nov-09 14:16
brucedkyle9-Nov-09 14:16 
QuestionDataGrid problem!! Plz Help!! Pin
Samad Maajid9-Nov-09 1:25
Samad Maajid9-Nov-09 1:25 
AnswerRe: DataGrid problem!! Plz Help!! Pin
Not Active9-Nov-09 1:48
mentorNot Active9-Nov-09 1:48 
QuestionNeed suggestion either Website or web service Pin
jaiswalrahul9-Nov-09 1:15
jaiswalrahul9-Nov-09 1:15 
AnswerRe: Need suggestion either Website or web service Pin
David Mujica9-Nov-09 3:24
David Mujica9-Nov-09 3:24 
QuestionLooking For Web Development Service Pin
Jennifer Clark8-Nov-09 22:09
Jennifer Clark8-Nov-09 22:09 
AnswerRe: Looking For Web Development Service Pin
Gamzun8-Nov-09 22:13
Gamzun8-Nov-09 22:13 
AnswerRe: Looking For Web Development Service Pin
Ashfield9-Nov-09 1:32
Ashfield9-Nov-09 1:32 
AnswerRe: Looking For Web Development Service Pin
The Man from U.N.C.L.E.9-Nov-09 7:11
The Man from U.N.C.L.E.9-Nov-09 7:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.