- πΊπΈUnited States smustgrave
Hello this came up as a daily BSI target, since it's been a few years wonder if still experiencing this in D11?
- πΊπΈUnited States othdvlpr
Yes. I'm running drupal core 11.1.6 on WSL and 11.1.5 on Ubuntu Server. All add/update attempts fail on Ubuntu Server since I updated the latest file upload_validators to comply with version 11 requirements; and I receive an Nginx warning since I'm running Nginx 1.24.0 on Ubuntu Server. I've attached some screenshots from both WSL and UbuntuServer and a managed_file snippet. Please let me know if you need further info.
thanks for getting back to me. - π¦πΊAustralia kim.pepper πββοΈπ¦πΊSydney, Australia
'FileImageDimensions' => ['maxDimensions' => 50 * 50],
Do you mean
['maxDimensions' => '50x50']
here? - πΊπΈUnited States othdvlpr
I tried using your '50x50' suggestion on both the Ubuntu Server add and update with the same result, no image change or update. I also tried commenting out the 'FileImageDimensions' => ['maxDimensions' => '50x50' ] entry entirely with the same failure.
Originally, I was using
https://www.drupal.org/node/3363700 β
as a guide. It didn't specify the format of
$max_filesize, so I just used the m * n format,depicted the below article, for the old file_validate_size format.
https://drupal.stackexchange.com/questions/65348/how-to-validate-file-si....
Document clarification on $max_filesize would be useful.