⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

How to disable AJAX image uploader?



moskrc
  • profile picture
  • Member

Posted 20 March 2015 - 18:55 PM

Hi, tell me please, how to disable ajax image uploader?

 

Can I do something like this:

 

 

$crud->callback_edit_field('marketplace_photo',array($this,'edit_marketplace_photo'));

 

function edit_marketplace_photo($value, $primary_key)
{
return '<input type="file" value="'.$value.'" name="marketplace_photo" style="display:block; opacity:1; position: inherit;">';
}

 

I see the input field, but the validation is not works.

 

Thanks