Hier ein Auszug aus meiner dcaconfig Trickkiste:
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('', '', ID);
Musst du nur anpassen an dein Feld.
Lesezeichen