[eluser]cereal[/eluser]
Let's say I have an image named:
25_IMG_8009_bn_lil.jpg
If I upload the image I register the right name in the database, but the file is renamed loosing the last segment, so it becomes:
25_IMG_8009_bn.jpg
I'm using CI 1.7.2 and my config is:
Code:
$config['allowed_types'] = 'jpg';
$config['max_size'] = '1000';
$config['max_width'] = '300';
$config['max_height'] = '300';
$config['overwrite'] = FALSE;
$config['remove_spaces'] = TRUE;
I don't understand why, I don't get errors. This happens to me, only, when the images have the underscores in the name. Please give me an advice.
Thank you for your attention,
Cereal
Solved: I'm an idiot, it was the database, the filename field was a varchar(14) so this went to truncate the name. Sorry.