RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : December 01, 2008, 04:22:21 pm
+  RSGallery2 Support Forums
|-+  Developers corner
| |-+  Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened! (Moderators: Daniel Tulp, Chef Groovy)
| | |-+  [SVN:96] Photo's hit rate always = 0
Advanced search
  « previous next »
Pages 1 2
Author
Topic: [SVN:96] Photo's hit rate always = 0  (Read 11081 times)
« on: May 24, 2007, 09:16:12 pm »
mikeho1980 Offline
Full Member
***
Dog Neighbor - http://www.dogneighbor.com Posts: 161

WWW

Anyone has this issue?
« Last Edit: June 23, 2007, 03:40:25 am by mikeho1980 » Logged

Dog Neighbor http://www.dogneighbor.com
Joomla v1.0.12 Stable UTF-8 Traditional Chinese
RS Gallery 2 v1.14.0 SVN:472
Alpha RSItems module v1.4.2
PHP 5.2.0 Apache 2.0 mySQL 5.0.27 utf8_general
Internet Explorer 7.0.6000.16546 Firefox 2.0.0.11
 
Reply #1
« on: May 29, 2007, 12:41:36 pm »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1413



This was probably forgotten in the new template system.  I'll code a function for it and then whatever template is running will have to call the function.

What constitutes a hit?  Viewing the thumbnail?  Viewing the display image?  Seeing the display image as part of a slideshow?
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #2
« on: May 29, 2007, 01:46:27 pm »
piran
Guest

Agreed.
Adding further 'what if' aspects to your above:
* were the viewer's eyes open?
* was the viewer's brain in gear/daydreaming?
* viewer answering the phone simultaneously?
* slideview in continuous loop?
* viewer's cat tapping the keyboard progression?
and I won't even start on searchbots;~|
What about ISP, company, network or browser caches?
Hit counters... what do they REALLY mean?
Except using up system resources and adding complexity.
----best wishes, Robert
Logged
 
Reply #3
« on: May 29, 2007, 02:59:43 pm »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1413



 Cheesy I agree with you Robert however...  It should work as it is expected functionality.

My questions were for real: what does the community want to see constitute a hit?
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #4
« on: May 29, 2007, 03:13:54 pm »
piran
Guest

A hit is a sentient access attempt to view a particular image.
Thumbnails don't count as images, nor do slideshows.
So whenever a resized or full size image is GET.
----best wishes, Robert
Logged
 
Reply #5
« on: May 29, 2007, 05:07:43 pm »
NecatPace Offline
Newbie
*
Posts: 15



i have the same problem, i install rsgallery2 1.13.1 and i have the same problem with 1.13.0, i never install before.

Before i use expose 4 but i want use rsgallery2.

Thanxs
Logged
 
Reply #6
« on: May 30, 2007, 10:44:23 am »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1413



NecatPace, if you read in this post you will realize that there is no current solution.  We need to make one.

There is also some discrepancy on what constitutes a hit, which is what this thread is currently discussing.  Many different templates are being produced now so we need to decide this.
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #7
« on: May 30, 2007, 10:43:22 pm »
Mike Offline
Newbie
*
Posts: 45



I agree with piran, a hit should be when an original or display picture is requested, not when a thumbnail is shown.

Though this may lead to hits being generated in the various modules, showing unfair hit results.
 eg the most popular image will be continually displayed in the popular module hence unfairly giving it lots of hits... if the module displays  the original or display picture that is. I forget the main functionality of the mod_rsitems as I hacked it aparted to try and acheive what I wanted.
Logged
 
Reply #8
« on: May 31, 2007, 02:31:35 am »
piran
Guest

Further to Mike's comments cache, particularly systemic cache,
should be considered. My server runs EAccelerator (PHP) and
I would expect the delivery of 'popular' images to be drawn
from systemic cache as opposed to having to hit MySQL again.
So I would not expect an undue multiplication of 'hits'. Having
said that I don't run image boxes of the random, most popular,
most voted for etc and so the issue would not arise here;~)
----best wishes, Robert
Logged
 
Reply #9
« on: June 06, 2007, 02:03:51 am »
martin luter Offline
Newbie
*
Posts: 4



I just want to confirm this issue.

And I agree with Mike and Piran about "original or display picture request" should be counted as hit
Logged
 
Reply #10
« on: June 07, 2007, 01:02:45 pm »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870

WWW

hmm, I don't agree with the original

if someone watches the display image and then opens the original, this shouldn't count as a second hit as it basically is the same image
I say you let the template creator choose, it depends heavily on the template, the highslide JS version of the super clean template that Robert started for example only uses thumbnails and the original files
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #11
« on: June 07, 2007, 01:09:11 pm »
Jonathan Offline
Dev Team
Jr. Member
*
Posts: 70



I would have to agree on letting the individual choose who is writing the template.
Logged
 
Reply #12
« on: June 07, 2007, 05:46:56 pm »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1413



very good.  I have added to hit() to the items api.  this will be implemented in 1.14.

In the mean time I'm thinking of hacking a kludge for the 1.13.1.* production series: increase the hit counter whenever imgUtils::getImgDisplay() with $local==false.  That will increase the hit counter every time the URL of the display image is retrieved.
« Last Edit: June 07, 2007, 05:58:40 pm by Jonah » Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #13
« on: June 17, 2007, 01:41:02 pm »
mikeho1980 Offline
Full Member
***
Dog Neighbor - http://www.dogneighbor.com Posts: 161

WWW

"Display" should count while "Thumbnail" and "Original" should not.
« Last Edit: June 17, 2007, 01:44:05 pm by mikeho1980 » Logged

Dog Neighbor http://www.dogneighbor.com
Joomla v1.0.12 Stable UTF-8 Traditional Chinese
RS Gallery 2 v1.14.0 SVN:472
Alpha RSItems module v1.4.2
PHP 5.2.0 Apache 2.0 mySQL 5.0.27 utf8_general
Internet Explorer 7.0.6000.16546 Firefox 2.0.0.11
 
Reply #14
« on: June 22, 2007, 04:15:33 pm »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1413



Kludge added to branch 1.13.1 in r91.
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Print  Pages 1 2
« previous next »
Jump to: