09-23-2008, 03:38 AM
[eluser]M4rc0[/eluser]
Yes it was, silly me.
First i was passing the paramater as append and not prepend, fixed by moving the prepending to the correct parameter order (fourth):
Then it was working but doing .jpg_thumb, so here's the correct code:
So i can say everything is done now :cheese:
Amazing topic, thanks for everything textnotspeech!
I'm attaching the imagination modified library, together we made it better then CI's, so if somebody searchs for resizing hopefully it will end here ;-)
Yes it was, silly me.
First i was passing the paramater as append and not prepend, fixed by moving the prepending to the correct parameter order (fourth):
Code:
$image->resize(120,140,'','_thumb');
Then it was working but doing .jpg_thumb, so here's the correct code:
Code:
if($this->new_name){
$save_path = $this->tmp_dir.$append.$this->new_name.$prepend.'.'.$this->type;
}else{
$save_path = $this->tmp_dir.$this->encrypt_name().'.'.$this->type;
}
So i can say everything is done now :cheese:
Amazing topic, thanks for everything textnotspeech!
I'm attaching the imagination modified library, together we made it better then CI's, so if somebody searchs for resizing hopefully it will end here ;-)