⚠ In case you've missed it we are migrating 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 forum is read-only and soon will be archived. ⚠


Eduardo

Member Since 03 Feb 2018
Offline Last Active Feb 04 2018 04:14 PM
-----

Topics I've Started

Change file path on list view

04 February 2018 - 12: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.