Welcome Guest, Not a member yet? Register   Sign In
$this->image_lib->resize() to a new folder
#1

[eluser]searain[/eluser]
It seems to me that it would make sense that $this->image_lib->resize() just add a new parameter to set up a new folder for me to save the resized images to a new folder.

But it is not in codeigniter 1.7.3 or codeigniter 2.0.

So we still have to write our own methods to do so, like the following thread?

http://ellislab.com/forums/viewthread/91549/#462668

Any other better solutions?
#2

[eluser]Mat-Moo[/eluser]
It's not normally the job of libraries to ensure that paths are set up, so whilst I can understand where your coming from, I'm not sure I agree that this should be added. I did consider adding it to my image_moo class but based on my last comment I wont Smile
#3

[eluser]searain[/eluser]
I used a simple solution, just copy the original photo to another folder before resize.




Theme © iAndrew 2016 - Forum software by © MyBB