add classes to images created with DrawSqlImage