Forums

This topic is locked

drag and drop images

Posted 09 May 2007 09:26:06
1
has voted
09 May 2007 09:26:06 LorD ExoskeletoN posted:
hi guys ... anyone can point me to an example on how to drag images from your computer to a webpage using ajax? please help me...

is this possible? drag a picture and drop it on a webpage?

TIA

<center>
afraid NOT to FAIL for you learn NOTHING

www.nasbikesphilippines.bravehost.com
<img src="www.motorcyclephilippines.com/forums/signaturepics/sigpic14460_2.gif" border=0></center>

Replies

Replied 23 May 2007 13:57:49
23 May 2007 13:57:49 Andrew Peace replied:
It is almost impossible to do. If you are an advanced coder, you may be able to find something if you google "AJAX file upload" or "AJAX drag and drop file upload". But I have to say, I've tried to do this, and I can't even figure it out (and I'm pretty good at this stuff).

You just have to upload the image that they are dragging onto the screen. Once its uploaded, create an img element to contain the uploaded version. Then you can manipulate the position of the image as you please.

Andrew Peace - Like my posts? You'll love my site

Reply to this topic