use imagesize.js and delete preview
wip