See on the internet about CI upload images and generate thumbnails and watermark method is more as follows
The first step upload the original image before uploading local files for abc.jpg after uploading the file name is 123.jpg
The second step uses the previous step uploaded image 123.jpg to generate a thumbnail image 123_t.jpg
The third step in the above thumbnail image 123_t.jpg plus watermark
Eventually left on the server with 123.jpg 123_t.jpg
I would like to know if I can generate thumbnails directly from abc.jpg when I do not upload abc.jpg in the first step? (The reason is not to want the original image, do not want to upload the original image and then delete the file so as to reduce the efficiency of the method)
The third step and the second step can be all and the same time with 123.jpg disposable thumbnail and add watermark?
Reply content:
See on the internet about CI upload images and generate thumbnails and watermark method is more as follows
The first step upload the original image before uploading local files for abc.jpg after uploading the file name is 123.jpg
The second step uses the previous step uploaded image 123.jpg to generate a thumbnail image 123_t.jpg
The third step in the above thumbnail image 123_t.jpg plus watermark
Eventually left on the server with 123.jpg 123_t.jpg
I would like to know if I can generate thumbnails directly from abc.jpg when I do not upload abc.jpg in the first step? (The reason is not to want the original image, do not want to upload the original image and then delete the file so as to reduce the efficiency of the method)
The third step and the second step can be all and the same time with 123.jpg disposable thumbnail and add watermark?
OK. But it is not advisable to do so.
The first way, do not use the image processing function of the CI, so that you can do the memory of the image processing work.
Second, modify the system functions. (I haven't tested it, you can test it yourself and then reply to me)
Open the /system/libraries/Image_lib.php
file, in the line of about 39th
var $thumb_marker = '_thumb';
Modified to:
var $thumb_marker = '';
After the test, don't forget to reply whether I am OK or not.