⚠ 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

Change file path on list view



Eduardo

Eduardo
  • profile picture
  • Member

Posted 04 February 2018 - 00:15 AM

Hi, I have an input file to upload images so I set the GC as the documetation explains how to do it:

 

$crud->set_field_upload('image', 'assets/uploads/temp', 'jpg|jpeg|png');

 

I always upload the images in a temporary folder before send them to the real folder to prevent images to get lost in the limbo if something goes wrong. So everything goes well until I go back to the image list because it comes with the temp path. How can I solve this problem with GC because it could be easily done in pure PHP. I did some researches before coming here but didn't find any solution for this problem.

 

Thanks in advance.