I\'m implementing as simple image gallery.
This is what I got for now
function init(){ var elem = document.createElement(\"img\"); elem.scr=\'upload
You have a typo when you're setting the source. Instead of elem.scr it should be elem.src.
elem.scr
elem.src