diff options
Diffstat (limited to 'view_image.php')
| -rw-r--r-- | view_image.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/view_image.php b/view_image.php index 565bcd6..a8302a8 100644 --- a/view_image.php +++ b/view_image.php @@ -27,6 +27,10 @@ if( !empty( $_REQUEST['refresh'] ) ) { include_once( FISHEYE_PKG_PATH.'image_lookup_inc.php' ); +if( $gContent && $gContent->isValid() ) { + $gBitSystem->setCanonicalLink( $gContent->getDisplayUri() ); +} + global $gHideModules; $gHideModules = $gBitSystem->isFeatureActive( 'fisheye_image_hide_modules' ); |
