Hello,
I’m having troubles with Grav as it resizes images at 1280px width at upload, and a client asked me if I can overwrite this rule. I tried to comment the following lines in the config/plugins/admin.yaml but it didn’t help :
pagemedia:
# resize_width: 1280
# resize_height: 1280
# resize_quality: 0.85
I also found some variables that may have an impact but cannot find where they’re used, in /plugins/problems/scss/_variables.scss :
// Sizes
[…]
$control-width-xs: 180px !default;
$control-width-sm: 320px !default;
$control-width-md: 640px !default;
$control-width-lg: 960px !default;
$control-width-xl: 1280px !default;
// Responsive breakpoints
$size-xs: 480px !default;
$size-sm: 600px !default;
$size-md: 840px !default;
$size-lg: 960px !default;
$size-xl: 1280px !default;
$size-2x: 1440px !default;
Is there any way to keep the original image size ?
By the way, I’m using Grav v1.7.48 and Admin v1.10.48.
Thanks a lot for your answers 🙏