mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-08-29 23:17:19 +02:00
- resize uploaded image to thumbnail, medium, large, feed, and id3 formats - set image url formats where adapted in views - set format sizes and extensions in Images config file for customization - add validation for image uploads: `min_dims` and `is_image_squared` - update codeigniter4 and myth-auth php packages to latest develop versions - update npm packages to latest versions - update public/.htaccess closes #6
17 lines
501 B
PHP
17 lines
501 B
PHP
<?php
|
|
|
|
/**
|
|
* @copyright 2020 Podlibre
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
return [
|
|
'not_in_protected_slugs' =>
|
|
'The {field} field conflicts with one of the gateway routes (admin, auth or install).',
|
|
'min_dims' =>
|
|
'{field} is either not an image, or it is not wide or tall enough.',
|
|
'is_image_squared' =>
|
|
'{field} is either not an image, or it is not squared (width and height differ).',
|
|
];
|