Verwendung: Wie benutze ich das Standardfeld 'imagemargin' in der HTML Ausgabe?
Produkt: Custom Elements Contao
Contao-Version: 4.9.39
Hallo,
wie nutze ich das Standardfeld 'imagemargin' in meiner HTML-Ausgabe?
Folgende Felder habe ich in meiner _config.php
'singleSRC' => array(
'inputType' => 'standardField'
),
'size' => array(
'inputType' => 'standardField'
),
'imagemargin' => array(
'inputType' => 'standardField'
),
Und bislang habe ich folgendes in meiner .html5 Datei
<?php if ($image = $this->getImageObject($this->singleSRC, $this->size)): ?>
<?php $this->insert('image', (array) $image) ?>
<?php endif; ?>
Wie bekomme ich jetzt mein 'imagemargin' da rein?
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by RockSolid Theme... on 25 Aug, 2023 12:43 PM
Vielen Dank für Ihre Frage.
Bitte beachten Sie, dass das Feld
imagemarginin Contao 5.0 entfernt wurde.Die werte des
imagemargin-Feldes lassen sich in Contao 4 folgendermaßen im Template nutzen: