tca field image


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. 'XXXfieldnameXXX' => array(
  2. 'exclude' => 0,
  3. 'label' => 'LLL:EXT:XXXextKeyXXX/Resources/Private/Language/locallang_db.xml:XXXtableNameXXX.XXXfieldnameXXX',
  4. 'config' => array(
  5. 'type' => 'group',
  6. 'internal_type' => 'file',
  7. 'allowed' => 'gif,png,jpeg,jpg',
  8. 'max_size' => 2048,
  9. 'uploadfolder' => 'uploads/XXXextKeyXXX',
  10. 'show_thumbs' => 1,
  11. 'size' => 1,
  12. 'minitems' => 0,
  13. 'maxitems' => 1,
  14. )
  15. ),

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.