verifyPackage( 'stock' ); global $gBitSystem, $gDebug; include_once STOCK_PKG_INCLUDE_PATH.'image_lookup_inc.php'; $gContent->invokeServices( 'content_display_function', $displayHash ); $gContent->addHit(); if( is_object( $gGallery ) && $gGallery->isCommentable() ) { $commentsParentId = $gContent->mContentId; $comments_vars = [ 'stockcomponent' ]; $comments_prefix_var='stockcomponent:'; $comments_object_var='stockcomponent'; $comments_return_url = STOCK_PKG_URL."view_image.php?component_id=".$gContent->mContentId; include_once LIBERTY_PKG_INCLUDE_PATH.'comments_inc.php'; } $gBitSmarty->display( 'bitpackage:stock/view_image_details.tpl' );