我具有以下TCA配置
<s_Image>
<ROOT>
<TCEforms>
<sheetTitle>Photo</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<options.contactusimage>
<TCEforms>
<label>Contact Us page photo</label>
<config>
<type>inline</type>
<maxitems>1</maxitems>
<size>1</size>
<show_thumbs>1</show_thumbs>
<foreign_table>sys_file_reference</foreign_table>
<foreign_table_field>tablenames</foreign_table_field>
<foreign_label>uid_local</foreign_label>
<foreign_sortby>sorting_foreign</foreign_sortby>
<foreign_selector>uid_local</foreign_selector>
<foreign_selector_fieldTcaOverride type="array">
<config>
<appearance>
<elementBrowserType>file</elementBrowserType>
<elementBrowserAllowed>jpg,png</elementBrowserAllowed>
</appearance>
</config>
</foreign_selector_fieldTcaOverride>
<foreign_match_fields type="array">
<fieldname>image</fieldname>
</foreign_match_fields>
<appearance type="array">
<newRecordLinkAddTitle>1</newRecordLinkAddTitle>
<headerThumbnail>
<field>uid_local</field>
<height>64</height>
<width>64</width>
</headerThumbnail>
</appearance>
</config>
</TCEforms>
</options.contactusimage>
</el>
</ROOT>
</s_Image>
上传文件效果很好,但是我的问题是我希望能够定义将图像上传到的位置,默认情况下它会转到uploads/skinFlex/flex
。
是否仍然可以将其更改为fileadmin/images/