Better sql for image insert
clean
dev