Ticket #55 (new enhancement)

Opened 08/14/05 13:57:12 (3 years ago)

Last modified 07/22/08 01:16:37 (3 months ago)

Log how many times a picture has been viewed

Reported by: anti Owned by: mike
Priority: normal Milestone: 2.0
Component: General Version: 1.0b3
Severity: minor Keywords:
Cc:

Description

Add a new field 'views' to pictures table and each time a picture is viewed (level == picture) increment the counter.

Change History

Changed 08/18/05 16:34:39 (3 years ago) by anti

Coppermine keeps ID-s of last 4 viewed images in a cookie and increases the counter only if the current picture is not one of those 4. This will will fail, if the client has disabled cookies.

Gallery 1 keeps ID-s in the sessions, also cookie based and will not work with cookies disabled

Maybe we can do IP based solution, like storing last X IP-s from which the image has been viewed and increase the counter only if the current IP is not one of those.

Granted, this will not a very reliable count, think big corporate firewalls with hundreds of possible users with a single IP. But log file analyzis should be used for exact analysis anyway, this is just a simple counter.

And probably deserves an option to turn it on/off, precisely because the value is not an exact figure. Could even default to off.

Changed 08/19/05 18:39:57 (3 years ago) by anonymous

  • version set to 1.0 Beta 3

Changed 11/17/05 21:19:54 (3 years ago) by angus@…

Your talking about unique views though.

I personally think that "view" is fine. If the same person views the same photo several times in a session - eg keep coming back for whatever reason, I would be okay with that.

Obviously want to stop something where a user can simply keep refreshing the same page over and over to generate "fake" visits though I guess.

Changed 06/13/08 13:25:47 (4 months ago) by sidtheduck

  • type changed from defect to enhancement

Changed 07/22/08 01:16:37 (3 months ago) by sidtheduck

  • milestone set to 2.0
Note: See TracTickets for help on using tickets.