EE 1
EE 2
Image Info
Developer
3rd Party (Free)
Compatibility
- LG Addon Updater
- Multi Site Manager
- Stand Alone Entry Form
Requirements
- jQuery for the Control Panel
- Hermes
Image Info lets you pull file properties from all sorts of images, and either display the info with set parameters, or lets you run conditionals on their values.
A use case would be to change a template layout based on the image ratio—landscape/square/portrait.
Example:
{exp:image_info image="http://example.com/images/image.jpg"}
{if ratio == "landscape" || ratio == "square"}
{embed="layouts/2_column"}
{if:else}
{embed="layouts/3_column"}
{/if}
{/exp:image_info}
All the documentation is in the plugin, so you can read it in the Plugin Manager area.
Image Info Links
- Add-On Homepage/Developer Site
- [EE Forums] http://expressionengine.com/archived_forums/viewthread/131213/
This entry was last updated October 31, 2009, 12:37 pm.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!