[front-end] show images proportionally to their size and set sizes in em
[front-end, refactor] use ng-bind;  some other minor refactorings