When I upload a photo using CodeIgniter, the name of the image is changed to a random name like "107fb08f4a11cc37a040237cdcf0e48a.jpg" for example. I am having trouble showing the image from the database in the view because it is showing the original upload name and not the new name. How do I disable the function that changes this name?
These are the config settings:
$config = array(
'upload_path' => './uploads/',
'allowed_types' => 'gif|jpg|png',
'max_size' => '6000',
'max_width' => '2068',
'max_height' => '1032',
'encrypt_name' => true,
);