From f0518bc76a48e7c9087bbc59b9985f77b448ac92 Mon Sep 17 00:00:00 2001 From: Simon Backx Date: Tue, 6 Jun 2023 09:42:42 +0200 Subject: [PATCH] Increased signup form embed icon resolution to 192px no issue Optimal resolution for @3x devices --- ghost/admin/app/components/modals/settings/signup-form-embed.js | 2 +- ghost/core/core/shared/config/overrides.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/admin/app/components/modals/settings/signup-form-embed.js b/ghost/admin/app/components/modals/settings/signup-form-embed.js index 51c56833c6..3123cfc3f6 100644 --- a/ghost/admin/app/components/modals/settings/signup-form-embed.js +++ b/ghost/admin/app/components/modals/settings/signup-form-embed.js @@ -94,7 +94,7 @@ export default class SignupFormEmbedModal extends Component { if (this.style === 'all-in-one') { // We serve twice the size of the icon to support high resolution screens // (note that you'll need to change the resolution in the backend config as well, as not all resolutions are supported) - options.logo = this.settings.icon.replace(/\/content\/images\//, '/content/images/size/w128h128/'); + options.logo = this.settings.icon.replace(/\/content\/images\//, '/content/images/size/w192h192/'); options.title = this.settings.title; options.description = this.settings.description; diff --git a/ghost/core/core/shared/config/overrides.json b/ghost/core/core/shared/config/overrides.json index b4974408f1..e67c7ab98a 100644 --- a/ghost/core/core/shared/config/overrides.json +++ b/ghost/core/core/shared/config/overrides.json @@ -121,7 +121,7 @@ }, "internalImageSizes": { "icon": {"width": 256, "height": 256}, - "signup-form-icon": {"width": 128, "height": 128}, + "signup-form-icon": {"width": 192, "height": 192}, "email-header-image": {"width": 1200}, "email-latest-posts-image": {"width": 200, "height": 200}, "email-latest-posts-image-mobile": {"width": 1200, "height": 960}