fal

TYPO3 FAL in Flexform

爷,独闯天下 提交于 2021-01-20 08:27:42
问题 I have a flexform with following code: <image> <TCEforms> <label>LLL:EXT:my_slider/Resources/Private/Language/locallang.xlf:flexform.slider.main.slider.image</label> <config> <type>group</type> <internal_type>file</internal_type> <allowed>jpg, jpeg, gif, png</allowed> <show_thumbs>1</show_thumbs> <minitems>0</minitems> <maxitems>1</maxitems> <size>1</size> </config> </TCEforms> </image> Until now this worked. But now in TYPO3 10 I get this error: TCA internal_type of field "image" in table tt

How can I extract metadata properties from images with FAL and fluid?

喜欢而已 提交于 2019-12-25 07:12:48
问题 Situation sysext:filemetadata is activated; images (fal references) are deposited within page resources (pages.media). 2 options are currently known to me in conjunction to TYPO3 pages: Using a custom FAL viewhelper Using TypoScript (which is often illegible and not easy to maintain) Question What's actually (TYPO3 7.x and 8.x) a common/core-only solution to render such images within fluid with additional properties (metadata) like creator, copyright and so on? 回答1: I would go for next

TYPO3 fal upload image with alt-text

别说谁变了你拦得住时间么 提交于 2019-12-25 02:57:52
问题 I can do uploads after following a few tutorials like this one: http://t3-developer.com/extbase-fluid/extensions-erweitern/fal-in-eigenen-extensions/fal-dateiupload-im-frontend/ But I miss two fields. When doing a FAL upload of a media file. How to add alternate and link ? 回答1: try look at this. Maybe it can help: https://forge.typo3.org/issues/56884 来源: https://stackoverflow.com/questions/31143009/typo3-fal-upload-image-with-alt-text

How can I get the category object in Fluid of Typo3 Content Element Pictures?

陌路散爱 提交于 2019-12-21 20:35:21
问题 after a long time of Google, I can get the categories of FAL Objects in Typo3 7.6 Fluid. But I can only return a String. I want to get an object like {data}. What I do: TypoScript lib.category = CONTENT lib.category { table=sys_category wrap=| select { pidInList = root,0,1 recursive = 99 max=10 selectFields=sys_category.title,sys_category.uid join = sys_category_record_mm on sys_category_record_mm.uid_local = sys_category.uid join sys_file_metadata on sys_file_metadata.uid = sys_category

TYPO3 FAL : add and read a custom field in a fluid template

若如初见. 提交于 2019-12-13 03:54:18
问题 In my custom extension I introduced a binary variable to the image metadata that needs to be read, similar to the "Show in list view" of tx_news. With tx_news as example I was able to add the variable, the new palette shows the checkbox in the backend and the selection is registered in a new database field in the sys_file_reference table ... I first tried to declare it in the domain which did work but I could not use the variable since it was an array of the same files in which I tried to use

TYPO3 extension; read custom FAL variable in the domain to use in fluid template

こ雲淡風輕ζ 提交于 2019-12-11 15:36:57
问题 In my custom extension I introduced a binary variable to the image metadata that needs to be read, similar to the "Show in list view" of tx_news . With tx_news as example I was able to add the variable, the new palette shows the checkbox in the backend and the selection is registered in a new database field in the sys_file_reference table ... now I need to use this variable in my fluid templates, and here I lose the trail; the objects are items and the new variable is named opentab , I

Typo3 CKEditor image from FAL

半世苍凉 提交于 2019-12-11 04:19:55
问题 I set up a fresh TYPO3 8.7.4 installation with CKEditor and rte_ckeditor_image to get images from FAL. In the documentation from rte_ckeditor_image it says: The maximum dimensions relate to the configuration for magic images which have to be set in Page TSConfig: # Page TSConfig RTE.default.buttons.image.options.magic { maxWidth = 1020 # Default: 300 maxHeight = 800 # Default: 1000 } I did this, but still I can't make the width of an image bigger than 300px. I looked at the source code from

TYPO3 6.2 - how to create FileReference in frontend (FE)?

若如初见. 提交于 2019-12-09 11:00:53
问题 I have the hypothetical Zoo extension in which I've Animal model with photo field and FrontEnd (FE) plugin with typical CRUD actions. photo field is typical FAL's FileReference and it works perfectly in backend (BE) with common TCA IRRE config. I'm able to successful upload the file to the storage, it's visible in the Filelist module, and I can use it in BE during my Animal editing, anyway I can't create FileReference within my FE plugin. My current approach looks like this: /** * @param \Zoo

Set Upload Folder when using FAL in TCA

巧了我就是萌 提交于 2019-12-09 06:21:52
问题 Is it possible when using FAL, to set the upload destination folder directly in the TCA column? My configuration looks like this at the moment: 'images_outdoor' => Array ( 'exclude' => 1, 'label' => 'Outdoor: ', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('images_outdoor', Array ( 'appearance' => Array ( 'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference' ), 'minitems' => 1, 'maxitems' => 6, ), $GLOBALS['TYPO3_CONF