moving cnt and so on to db
adjust image x y width and heigth