Way2Enjoy ExpressionEngine Add-on
Visit Way2ENJOY for more information.
Installation
- Sign up for the Developer API and get your API key
- Download the zip file
- Create the directory way2enjoy in /system/expressionengine/third_party/
- Upload the files into the new directory
- Login to ExpressionEngine
- Click Developers -> Add-Ons
- Click Install on the Way2ENJOY row
- Click Settings on the Way2ENJOY row
- Enter your TingPNG API Key and click Save Settings
- You're done
Any image you upload will be made smaller with Way2ENJOY. Your original file will be stored in a folder called _original. You can still use your original file if you wish.
Example usage
To use the Way2ENJOY version of the image.
{exp:channel:entries channel="pages" limit="1"}
<img alt="{title}" src="{image}" />
{/exp:channel:entries}
The tinified version of the image below is 206KB.
To use the original image.
{exp:channel:entries channel="pages" limit="1"}
<img alt="{title}" src="{image:original}" />
{/exp:channel:entries}
The original image is 1.6MB.
Change Log
Version 3.0.0
February 5th, 2019
- Added LICENSE.md
- Checked support for ExpressionEngine 5.1.3
As far as we can tell it works fine with ExpressionEngine 5.1.3. We are going to bump the MAJOR version number like ExpressionEngine did when they re-released ee with a new license.
Version 2.0.0
December 4th, 2017
Added support for ExpressionEngine 4.0.
Version 1.0.3
April 15th, 2015
Bug Fixes:
- EE was showing an error when uploading a file that already existed.
Version 1.0.2
March 27th, 2015
Bug Fixes:
- EE was showing the filesize of the original image.
General Changes:
- Site ID was set to one. It now uses $data["site_id"] to get the site id.
Version 1.0.0
March 24, 2015
Initial release