When I resize an image keeping $config['create_thumb'] = true
Codeigniter adds the string "_thumb" in the end of the name of resized image.
What I want ask is, is it possible to add the suffix "_thumb" in the beginning of the image name
example: original_name.jpg
after resizing: original_name_thumb.jpg
What I want: thumb_original_name.jpg
Any kind of help is appreciated!
this can be achieved by following way
for more information about re-size image check out following Code.
You can try this:
And if you have other problems with CI image manipulation library, maybe you can try ImageMoo.
If u don't want to add the suffix _thumb in thumbnail file name then use
$config['thumb_marker'] = false;