Yes, of course ...dca/tl_content.php is the default configuration.
You can modify this within your system/config/dcaconfig.php
PHP Code:
// Default image size - width, height, mode|size-ID
// Mode options: proportional, box, crop, left_top, center_top, right_top, left_center, center_center, right_center, left_bottom, center_bottom, right_bottom
$GLOBALS['TL_DCA']['tl_content']['fields']['size']['default'] = array(600, 400, 'proportional');
// Or a default image size ID
$GLOBALS['TL_DCA']['tl_content']['fields']['size']['default'] = array('', '', 42);
For the image sizes there only exist geman tutorials.
First you have to learn something about the HTML picture element.
https://www.w3schools.com/tags/tag_picture.asp
https://developer.mozilla.org/en-US/...lement/picture
http://w3c.github.io/html/semantics-...icture-element
Here is a nice Contao tutorial with video
https://contao.org/files/conference/...t-4-folien.pdf
https://www.youtube.com/watch?v=ub8yROSQyQ4
And here another Contao tutorial
https://rocksolidthemes.com/de/conta...picture-contao
Notice that you do not have to check the polyfill in the layout to make it work. That's a mistakable hint from Contao.
Bookmarks