tca config single image (2M)


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



Copy this code and paste it in your HTML
  1. 'config' => array(
  2. 'type' => 'group',
  3. 'internal_type' => 'file',
  4. 'allowed' => 'gif,png,jpeg,jpg',
  5. 'max_size' => 2048,
  6. 'uploadfolder' => 'uploads/###extkey###',
  7. 'show_thumbs' => 1,
  8. 'size' => 1,
  9. 'minitems' => 0,
  10. 'maxitems' => 1,
  11. )

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.