Fix new.html to read images dynamically.