Join Joseph Lowery for an in-depth discussion in this video Uploading an image, part of HTML5 Projects: Customized Photo Cards.
I've closed out the Script folder.…I am going to go ahead and save this file.…Let's take a look at filedrag.js.…What you will see is a series of relatively small functions.…Let's go through them one by one, so you have an idea of what's really happening.…So first we set up a function called ID that will get the element by ID, simple enough.…Next, we create the function Output, which will put our status messages into a…specified area on the page.…Next, we get into some of the actual file dragging with the…
- Creating a form
- Uploading images
- Preparing the stage
- Manipulating photos interactively
- Saving photo cards