this one helps. Two possibilities come to mind... Either your /assets/images/directory is not accesible (wrong path and/or not writable by codeigniter), in which case you should double check the path and/or try changing permissions of the directory to 777 and, if everything starts working, work your way down to a more reasonable permission level.
Codeigniter upload issue: file_name doesn't work fine
By : ayKors van Beem
Date : March 29 2020, 07:55 AM
Hope this helps Finally I found the answer! It was a bad mistake from view part. Input files was not written in order. For example it was like this: