typo3fluidtypo3-6.1.xfluxfedext

How can i make a image selection field with FLUX that is like the TYPO3-native image content type?


Is it possible to create a image selection field with Flux/Fluid FlexForms like the default TYPO3-Image-ContentElement?

And if yes, how?

I could only create a input field (with wizard) that links to the files table. This is the code:

<flux:flexform.field.input name="file" eval="trim">
    <flux:flexform.field.wizard.link allowedExtensions="jpg,jpeg,png,gif"/>
</flux:flexform.field.input>

But i want it like the TYPO3-Image-ContentElement with thumbnail, filename etc..

native TYPO3 6.1 image selection this is how my fluid image field looks like


Solution

  • This feature has been added to the current flux master on github.

    You can use it like this:

    <flux:flexform.field.inline.fal name="myimage"
         multiple="TRUE" maxItems="5"
         enabledControls="{info:1,new:1,dragdrop:1,sort:1,hide:1}"/>