New photo field "photo-type" as preparation for banners

This commit is contained in:
Michael 2021-10-11 14:21:10 +00:00
parent 86947b0997
commit 13827edd2c
15 changed files with 80 additions and 60 deletions

View file

@ -100,7 +100,7 @@ class Crop extends BaseSettings
$base_image['filename'],
DI::l10n()->t('Profile Photos'),
4,
1
Photo::USER_AVATAR
);
if ($r === false) {
notice(DI::l10n()->t('Image size reduction [%s] failed.', '300'));
@ -116,7 +116,7 @@ class Crop extends BaseSettings
$base_image['filename'],
DI::l10n()->t('Profile Photos'),
5,
1
Photo::USER_AVATAR
);
if ($r === false) {
notice(DI::l10n()->t('Image size reduction [%s] failed.', '80'));
@ -132,7 +132,7 @@ class Crop extends BaseSettings
$base_image['filename'],
DI::l10n()->t('Profile Photos'),
6,
1
Photo::USER_AVATAR
);
if ($r === false) {
notice(DI::l10n()->t('Image size reduction [%s] failed.', '48'));