diff --git a/ghost/admin/app/components/gh-posts-list-item.js b/ghost/admin/app/components/gh-posts-list-item.js index 90777bd893..b2568a0681 100644 --- a/ghost/admin/app/components/gh-posts-list-item.js +++ b/ghost/admin/app/components/gh-posts-list-item.js @@ -27,7 +27,7 @@ export default Component.extend(ActiveLinkWrapper, { }), authorAvatar: computed('post.author.image', function () { - return this.get('post.author.image') || this.get('ghostPaths.url').asset('/shared/img/user-image.png'); + return this.get('post.author.image') || `${this.get('ghostPaths.subdir')}/ghost/img/user-image.png`; }), authorAvatarBackground: computed('authorAvatar', function () { diff --git a/ghost/admin/app/components/gh-profile-image.js b/ghost/admin/app/components/gh-profile-image.js index 9b07c2824b..dcd60b4360 100644 --- a/ghost/admin/app/components/gh-profile-image.js +++ b/ghost/admin/app/components/gh-profile-image.js @@ -41,7 +41,7 @@ export default Component.extend({ }, defaultImage: computed('ghostPaths', function () { - let url = this.get('ghostPaths.url').asset('/shared/img/user-image.png'); + let url = `${this.get('ghostPaths.subdir')}/ghost/img/user-image.png`; return Ember.String.htmlSafe(`background-image: url(${url})`); }), diff --git a/ghost/admin/app/components/gh-user-active.js b/ghost/admin/app/components/gh-user-active.js index b1a62c7497..fe5fb91e4e 100644 --- a/ghost/admin/app/components/gh-user-active.js +++ b/ghost/admin/app/components/gh-user-active.js @@ -14,7 +14,7 @@ export default Component.extend({ ghostPaths: service(), userDefault: computed('ghostPaths', function () { - return this.get('ghostPaths.url').asset('/shared/img/user-image.png'); + return `${this.get('ghostPaths.subdir')}/ghost/img/user-image.png`; }), userImageBackground: computed('user.image', 'userDefault', function () { diff --git a/ghost/admin/app/controllers/team/user.js b/ghost/admin/app/controllers/team/user.js index 099afafa0b..e917b32fc6 100644 --- a/ghost/admin/app/controllers/team/user.js +++ b/ghost/admin/app/controllers/team/user.js @@ -56,7 +56,7 @@ export default Controller.extend(ValidationEngine, { // duplicated in gh-user-active -- find a better home and consolidate? userDefault: computed('ghostPaths', function () { - return this.get('ghostPaths.url').asset('/shared/img/user-image.png'); + return `${this.get('ghostPaths.subdir')}/ghost/img/user-image.png`; }), userImageBackground: computed('user.image', 'userDefault', function () { @@ -67,7 +67,7 @@ export default Controller.extend(ValidationEngine, { // end duplicated coverDefault: computed('ghostPaths', function () { - return this.get('ghostPaths.url').asset('/shared/img/user-cover.png'); + return `${this.get('ghostPaths.subdir')}/ghost/img/user-cover.png`; }), coverImageBackground: computed('user.cover', 'coverDefault', function () { diff --git a/ghost/admin/public/assets/img/user-cover.png b/ghost/admin/public/assets/img/user-cover.png new file mode 100644 index 0000000000..8de60640dd Binary files /dev/null and b/ghost/admin/public/assets/img/user-cover.png differ diff --git a/ghost/admin/public/assets/img/user-image.png b/ghost/admin/public/assets/img/user-image.png new file mode 100644 index 0000000000..40e0d8226e Binary files /dev/null and b/ghost/admin/public/assets/img/user-image.png differ