diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbavatar.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbavatar.directive.js index c9a45fd316..ba34a752ed 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbavatar.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbavatar.directive.js @@ -13,8 +13,8 @@ Use this directive to render an avatar. + img-src="{{vm.avatar[0].value}}" + img-srcset="{{vm.avatar[1].value}} 2x, {{vm.avatar[2].value}} 3x"> @@ -43,8 +43,8 @@ Use this directive to render an avatar. @param {string} size (attribute): The size of the avatar (xs, s, m, l, xl). -@param {string} src (attribute): The image source to the avatar. -@param {string} srcset (atribute): Reponsive support for the image source. +@param {string} img-src (attribute): The image source to the avatar. +@param {string} img-srcset (atribute): Reponsive support for the image source. **/ (function() { @@ -58,8 +58,8 @@ Use this directive to render an avatar. templateUrl: 'views/components/umb-avatar.html', scope: { size: "@", - src: "@", - srcset: "@" + imgSrc: "@", + imgSrcset: "@" } }; diff --git a/src/Umbraco.Web.UI.Client/src/views/components/application/umb-sections.html b/src/Umbraco.Web.UI.Client/src/views/components/application/umb-sections.html index 43af692d3a..e4fde787da 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/application/umb-sections.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/application/umb-sections.html @@ -5,8 +5,8 @@ + img-src="{{avatar[0].value}}" + img-srcset="{{avatar[1].value}} 2x, {{avatar[2].value}} 3x"> diff --git a/src/Umbraco.Web.UI.Client/src/views/components/umb-avatar.html b/src/Umbraco.Web.UI.Client/src/views/components/umb-avatar.html index 4fc0085988..1d23769db2 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/umb-avatar.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/umb-avatar.html @@ -1 +1 @@ - + diff --git a/src/Umbraco.Web.UI.Client/src/views/packager/views/repo.html b/src/Umbraco.Web.UI.Client/src/views/packager/views/repo.html index 5e68e18fa2..f351f3b234 100644 --- a/src/Umbraco.Web.UI.Client/src/views/packager/views/repo.html +++ b/src/Umbraco.Web.UI.Client/src/views/packager/views/repo.html @@ -162,7 +162,7 @@
+ img-src="{{ 'https://our.umbraco.org' + vm.package.ownerInfo.ownerAvatar }}">