make image.js and edit detail design refs #67