[TYPO3-project-formidable] Display images in renderlet:LISTER
Benjamin Fischer
mailbox at typedown.com
Wed May 7 11:57:15 CEST 2008
Hello Ian,
there used to be an example in the extension "ameos_t3con07"
unfortunately I can't find it anywhere online.
Here are the relevant parts of the xml configuration concerning the
images in a lister maybe this helps you, I have not tested it:
<column name="fruitpic" type="renderlet:IMAGE">
<path>
<userobj>
<php><![CDATA[/*<?php*/
$aData = $this->oDataHandler->_getListData();
if($aData["fruitpic"] != "") {
return "uploads/tx_ameost3con07/" . $aData["fruitpic"];
} return FALSE;
/*?>*/]]></php>
</userobj>
</path>
<imageconf>
<userobj>
<ts><![CDATA[
10 = IMAGE
10.file < params.relwebpath
10.file.width = 100m
]]></ts>
</userobj>
</imageconf>
</column>
Best Regards, Benjamin
--
Benjamin Fischer | Dipl.-Des.
-
Studio +49 711 50 88 97 04
Am 07.05.2008 um 11:44 schrieb Ian Solo:
> Hello,
> how it possible to display images in a renderlet:LISTER?
>
> I tried:
> <column name="image" type="renderlet:FILE" listHeader="Image" />
> but in the image column I see the text "array".
>
> I tried also renderlet:IMAGE but it doesn't work.
> With renderlet:TEXT it shows correctly the filename.
>
> I searched everywhere but I can't find an example.
>
> Thank you in advance for you help!
> ian
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
More information about the TYPO3-project-formidable
mailing list