Download Plugin (zip)

Stats

Version

0.3.1

Wheels Compatibility

1.1.7, 1.1.5

Downloads

58

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

Jordan Clark

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" )#

Change Log

Version 0.3.1—February 6, 2012 Download

Updated compatibility to include 1.1.7


Wheels compatibility: 1.1.5, 1.1.7.

Version 0.3—September 16, 2011 Download

  • Initial release.
  • Wheels compatibility: 1.1.5, 1.1.7.