moving imageattributes done in sql now