Hello, everyone. There are a few errors in the v0.9.0 file posted on github, that have not been mentioned anywhere. Here’s how to get ED ImageResizer v0.9.0 working under EE2 Public Beta.
Download the EE2 version of the Plugin from github:
http://github.com/erskinedesign/ed.imageresizer.ee2_addon
Open the file pi.ed_imageresizer.php
On or about Line 70 you will see:
public function __construct( )
Change Line 70 to:
public function Ed_imageresizer( )
Beginning on or about Line 72, you will see:
$EE =& get_instance();
$this->EE->load->library('typography');
Replace those two lines with the following:
$this->EE =& get_instance();
$this->EE->load->library('typography');
$this->EE->typography->initialize();
Be sure you’ve set the $server_path and $cache_path variables on Lines 61 and 62. Check for accuracy. If either one of these paths is not set correctly, the plugin will not work!
Save the new, edited pi.ed_imageresizer.php file, put it in a folder named, exactly “ed_imageresizer” and upload the folder to the “third_party” folder inside expressionengine.
Check your images directory to see that there is a folder inside named “cache” (or whatever name you made reference to in the $cache_path variable) with permissions set to 777. If not, create one.
That’s it!
Hopefully, Glen S. over at Erskine will see this post and update the hosted file.