upload configuration functionality issue
I was trying to upload images to a specific folder without any changeable option for user with following code : in form_fields function
$fields['image'] = array('type' => 'file', 'overwrite' => FALSE, 'display_overwrite' => FALSE, 'multiple' => FALSE );
$fields['image']['class'] = 'images/speaker';
$fields['image']['folder'] = 'images/speaker';
$fields['image']['required'] = 'required';
$fields['image']['upload_path'] = 'images/speaker';
$fields['image']['display_preview'] = TRUE;
$fields['image']['is_image'] = TRUE;
$fields['image']['hide_options'] = TRUE;
$fields['image']['encrypt_name'] = TRUE;
by this way
when i am selecting upload asset it is appearing properly
but when i am selecting upload from select image option :
it is not keeping the configuration
is their a way to prevent this ????
for more detail please check
http://stackoverflow.com/questions/37812965/fuel-cms-image-upload-configuration-functionility
Comments
>php index.php fuel/installer/update
Otherwise, you can manually make the fix which was essentially commenting out some lines of code:
https://github.com/daylightstudio/FUEL-CMS/commit/b990a5825830ed9a7a1009034ab925e841cbbb29