Difficult to test actions without HTML attached
Also, display format is useless without CSS definitions.
Finally, images can not be see if path is not specified.
If you want some help, it would be nice if you helps us.
Found the site you are playing with: http://diveintohtml5.info/storage.html
Check your cut and paste abilities.
If all else fails, you might try contacting the author.