Hallo... ich habe markerObjects (mit den Feldern uid ... title link image) die ich wie folgt ausgeben möchte:
<f:for each="{markerObjects}" as="listItem"> <f:image src="{listItem.image.originalResource.originalFile.uid}" /> <f:link.page pageUid="{listItem.link}">{listItem.title}</f:link.page> </f:for> außer bei image klappt das auch, aber beim Bild bekomme ich die Fehlermeldung "You must either specify a string src or a File object." Hat jemand einen Tipp woran es liegen könnte ??? im Marker Model habe ich für image folgendes stehen: /** * image * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference */ protected $image; /** * Returns the image * * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference> $image */ public function getImage() { return $this->image; } /** * Sets the image * * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference> $image * @return void */ public function setImage($image) { $this->image = $image; } im TCA gann noch folgendes: 'image' => array( 'exclude' => 1, 'label' => 'Image', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('image', array( 'appearance' => array( 'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference' ), 'minitems' => 0, 'maxitems' => 1, ), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']), ), im BE ist auch alles OK, die Bilder werden hochgeladen/zugeordnet... sys_file und sys_filereference scheinen OK zu sein... -- image[FORMAT] - Ralf-René Schröder http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german