If we let this function out the original image is been resized
When the image is resized the image should be copied to a cached folder
The problems lies in the fact with the following points
A. We cannot edit $config['source_image'] = $path; else we wont get the image
B. $config['new_image'] = $imagename; needs to be name not a path or else we wont get the copyed image
If we let this function out the original image is been resized When the image is resized the image should be copied to a cached folder The problems lies in the fact with the following points A. We cannot edit $config['source_image'] = $path; else we wont get the image B. $config['new_image'] = $imagename; needs to be name not a path or else we wont get the copyed image