summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-21 12:56:40 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-21 12:56:40 +0100
commitbb8b363edab318246976d9006d0db9d1d9dc515e (patch)
tree0fc6aad4eb9ae37c9c556e085962781aedd30a56
parentc1f8c88595ceb9746045b9376443246faac4c808 (diff)
downloadfisheye-bb8b363edab318246976d9006d0db9d1d9dc515e.tar.gz
fisheye-bb8b363edab318246976d9006d0db9d1d9dc515e.tar.bz2
fisheye-bb8b363edab318246976d9006d0db9d1d9dc515e.zip
Add addHit() to view_image_details.php
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 <noreply@anthropic.com>
-rwxr-xr-xview_image_details.php1
1 files changed, 1 insertions, 0 deletions
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;