I´ve added a picture to my snippet:
CODE
var SnippetView = new KONtx.Class({
ClassName: 'SnippetView',
Extends: KONtx.system.SnippetView,
createView: function () {
this.log('[LA.yandex.probki] createView');
this.controls.anchor_image = new KONtx.element.Image({
src: 'Resources/en/snippet-main-540.png',
styles: {
hOffset: 1,
vOffset: 8
}
}).appendTo(this);
What do I need to change in this code to display different picture for different resolutions (540 and 1080) and different languages?