Welcome Guest, Not a member yet? Register   Sign In
Resizing the same image twice. SOLVED.
#2

[eluser]Twisted1919[/eluser]
I gave up using CI Image class for resizing long time ago, because it doesn't have that wonder of adaptive resize.
If you're intersted , my code looks like :
Code:
$thumb = PhpThumbFactory::create($file->full_path);
$thumb->adaptiveResize(800, 600);
if( ! $thumb->save($file->full_path) )
{
  //Manage error .
}
And run that piece of code as many times you need. Good bye distorted images.


Messages In This Thread
Resizing the same image twice. SOLVED. - by El Forum - 08-26-2010, 03:14 PM
Resizing the same image twice. SOLVED. - by El Forum - 08-26-2010, 03:27 PM
Resizing the same image twice. SOLVED. - by El Forum - 08-27-2010, 09:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB