diff options
Diffstat (limited to 'liberty_plugins/data.image.php')
| -rwxr-xr-x | liberty_plugins/data.image.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/liberty_plugins/data.image.php b/liberty_plugins/data.image.php index 80f917e..e801cff 100755 --- a/liberty_plugins/data.image.php +++ b/liberty_plugins/data.image.php @@ -10,6 +10,7 @@ * required setup */ namespace Bitweaver\Liberty; + use Bitweaver\Fisheye\FisheyeImage; use Bitweaver\BitBase; use Bitweaver\KernelTools; @@ -43,7 +44,6 @@ $pluginParams = [ $gLibertySystem->registerPlugin( PLUGIN_GUID_DATAIMAGE, $pluginParams ); $gLibertySystem->registerDataTag( $pluginParams['tag'], PLUGIN_GUID_DATAIMAGE ); - function data_image( $pData, $pParams ) { global $gBitSystem, $gBitSmarty; $ret = ' '; @@ -114,7 +114,7 @@ function data_image( $pData, $pParams ) { $ret = '<a href="'.trim( $item->getDownloadUrl() ).'">'.$ret.'</a>'; } else if ( !empty( $item->mInfo['media_url'] ) ) { $ret = '<a href="'.trim( $item->mInfo['media_url'] ).'">'.$ret.'</a>'; - } + } } if( !empty( $wrapper['style'] ) || !empty( $class ) || !empty( $wrapper['description'] ) ) { |
