class-textobject 14 November 2009
Supports files of the following types:
- .txt
- .htm
- .html
The contents of these files are "dumpped" into a ... sized to a 24x36 ratioed box based on your theme "image size" option. This has a class of "textobject" so it can be styled.
What this plugin really is for is to serve as a model of how a plugin can be made to handle file types that zenphoto does not handle natively.
Some key points to note:
- The naming convention for these plugins is class-.php.
- The statement setting the plugin_is_filter variable must be near the front of the file. This is important as it is the indicator to the Zenphoto plugin loader to load the script at the same point that other object modules are loaded.
- These objects are extension to (...)