Stats
Version
0.3.1
Wheels Compatibility
1.1.7, 1.1.5
Downloads
42
Last Updated
February 6, 2012
About Plugins
Plugins allow you to extend or modify default Wheels application behavior. To use, you just drop the zip file into your plugins directory and reload your application.
Read Using and Creating Plugins for more information.
Fallback Image
Display an image instead of an error message
Author
Project Home
https://github.com/jordanclark/cfwheels-FallbackImage
Description
It simply wraps the internal call to $imageTag. If an error occurs because the image is missing or corrupt then you have the chance to provide a fall back image to be loaded instead of giving the end user a big fat error page. It also has an optional global switch so it will only run in the environments you specify.
Usage/Examples
#imageTag( source= "avatar/user123.png", fallback= "avatar/default.png" )#
