Increased signup form embed icon resolution to 192px

no issue

Optimal resolution for @3x devices
This commit is contained in:
Simon Backx 2023-06-06 09:42:42 +02:00
parent fc89ad22fc
commit f0518bc76a
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ export default class SignupFormEmbedModal extends Component {
if (this.style === 'all-in-one') { if (this.style === 'all-in-one') {
// We serve twice the size of the icon to support high resolution screens // 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) // (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.title = this.settings.title;
options.description = this.settings.description; options.description = this.settings.description;

View File

@ -121,7 +121,7 @@
}, },
"internalImageSizes": { "internalImageSizes": {
"icon": {"width": 256, "height": 256}, "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-header-image": {"width": 1200},
"email-latest-posts-image": {"width": 200, "height": 200}, "email-latest-posts-image": {"width": 200, "height": 200},
"email-latest-posts-image-mobile": {"width": 1200, "height": 960} "email-latest-posts-image-mobile": {"width": 1200, "height": 960}