[TYPO3-dev] TCE form backend admin: Display Images
Richard Davies
richard at ocular.co.nz
Mon Dec 15 21:14:40 CET 2014
Hi Satish,
You'll want something similar to
>
> 'image' => array(
> 'exclude' => 0,
> 'label' => 'Image',
> 'config' => array (
> 'type' => 'group',
> 'internal_type' => 'file',
> 'allowed' => 'gif,png,jpeg,jpg',
> 'max_size' =>
> $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
> 'uploadfolder' => 'uploads/myextension',
> 'show_thumbs' => 1,
> 'size' => 1,
> 'minitems' => 0,
> 'maxitems' => 1,
> )
> ),
>
I believe it generates a thumbnail and you can click on it to view the full
image.
If you want to use FAL you will need to do it a different way -
http://wiki.typo3.org/File_Abstraction_Layer
Richard
On 15 December 2014 at 19:55, Satish Maurya <satish04mca at gmail.com> wrote:
>
> Hi All,
>
> I am developing an extension in TYPo3 6.1, the functionality is to user
> uploads the image from front end and admin can see it.
>
> I have developed functionality to upload image from frontend in
> /uploads/myextension/ folder but not able to understand how images icon
> should be displayed in TCE edit form and admin can click on image icon and
> see the full image as well.
>
> Can anyone please help what code should I write in tca.php file?
>
> Thanks
>
> Satish
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
More information about the TYPO3-dev
mailing list