This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Douglas Godinho
Douglas Godinho

What if we could define in config / cms.php a quality, width and maximum height to save images? That would limit the size of images that would be saved, what do you think?

Last updated

Douglas Godinho
Douglas Godinho
Douglas Godinho

More elegant sintax now for config file... what about:

'storage' => [

    'uploads' => [
        'disk'   => 'local',
        'folder' => 'uploads',
        'path'   => '/storage/app/uploads',
        'image'  => [
            'maxWidth' => 1900,
            'maxWHeight' => 1200,
            'quality' => 85,
        ],
    ],

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.