Login   Register  
PHP Classes
elePHPant
Icontem

private $_aspect = 100; /* I changed this value so that there...

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Resize Image Helper  >  All threads  >  private $_aspect = 100; /* I changed this value so that there...  >  (Un) Subscribe thread alerts  
Subject:private $_aspect = 100; /* I changed this value so that there...
Summary:Package rating comment
Messages:3
Author:dhiraj
Date:2012-12-09 18:57:29
Update:2012-12-20 22:32:46
 

dhiraj rated this package as follows:

Utility: Good
Consistency: Good
Examples: Sufficient

  1. private $_aspect = 100; /* I changed this value so that there...   Reply  
Picture of dhiraj
dhiraj
2012-12-09 18:57:29
private $_aspect = 100; /* I changed this value so that there is no divide by zero notice and corrected the typo I guess, $this->_aspect were mistakenly typed as $this->aspect. That was an easy caught though. I shall send you the link after I implement it in any of my client's project.
Thanks for sharing! Cheers!
Warm Regards,
Dhiraj Kumar Jha
callmedhiraj@gmail.com
Kathmandu, Nepal Filename: resize_image_helper.php */

  2. Re: private $_aspect = 100; /* I changed this value so that ther   Reply  
Picture of dhiraj
dhiraj
2012-12-09 19:03:38 - In reply to message 1 from dhiraj
The example testing was made by creating a folder mannually called "img" and later placed my own file that was expected to get resized in it .

This helped the script run without any errors.
I enjoyed with a proper "echo" to greet, that the task in hand was accomplished.

Thanks. Thumbs Up, for your good work.
Happy Coding!

  3. Re: private $_aspect = 100; /* I changed this value so that ther   Reply  
Picture of Martin San Juan
Martin San Juan
2012-12-20 22:32:46 - In reply to message 1 from dhiraj
Thank you very much for your comments, I will review these mistakes.