EE 1
EE 2
File Oracle

Developer

George Ornbo - Shape Shed

3rd Party (Free)


Compatibility

  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Better Workflow
  • Matrix

Requirements

  • jQuery for the Control Panel

Categories

Plugin

Tags

Provides comprehensive information on a file for EE templates

The plugin provides comprehensive information on a file and makes this information available to ExpressionEngine templates.

The plugin expects to be given a file. This can either be relative to the document root of the site

{exp:file_oracle file="/images/example_file.jpg"}
  <p>MD5: {md5}</p>
{/exp:file_oracle}

Or the full server path

{exp:file_oracle file="/Users/george/Sites/ee16.local/images/example.jpg"}
  <p>Last modified: {mtime format="%F %d %Y"}</p>
{/exp:file_oracle}

There are many single variables you can make use of (see documentation for complete list).

Example Use

{exp:file_oracle file="/images/avatar_bigger.jpg"}
  <p>File size: {human_size}</p>
  <p>File permissions: {file_perms}</p>
  <p>Mime type: {mime_type}</p>
{/exp:file_oracle}

File Oracle Links

This entry was created November 14, 2009, 11:32 am.
This entry was last updated December 4, 2009, 8:45 am.

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!