From bb8b363edab318246976d9006d0db9d1d9dc515e Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Thu, 21 May 2026 12:56:40 +0100 Subject: Add addHit() to view_image_details.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Called via AJAX when an image is selected in the galleriffic gallery view — this is a genuine image view and should increment the hit counter. Co-Authored-By: Claude Sonnet 4.6 --- view_image_details.php | 1 + 1 file changed, 1 insertion(+) diff --git a/view_image_details.php b/view_image_details.php index a561be2..b7e2dce 100755 --- a/view_image_details.php +++ b/view_image_details.php @@ -17,6 +17,7 @@ global $gBitSystem, $gDebug; include_once FISHEYE_PKG_INCLUDE_PATH.'image_lookup_inc.php'; $gContent->invokeServices( 'content_display_function', $displayHash ); +$gContent->addHit(); if( is_object( $gGallery ) && $gGallery->isCommentable() ) { $commentsParentId = $gContent->mContentId; -- cgit v1.3