coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Sirowky on September 13, 2004, 05:29:00 PM

Title: CPG 1.32 top-rated images bug (?)
Post by: Sirowky on September 13, 2004, 05:29:00 PM
When I listed top rated picture on my gallery and clicked on a thumbnail number i (on row 2nd, 3rd,..) the browser didn't go for that picture, it went to picture number i-1 instead  ???

Please try your self here:
http://phongtranh.truyentranh.com/gallery/thumbnails.php?album=toprated&cat=0

Thanks.
Title: Re: CPG 1.32 top-rated images bug (?)
Post by: Tranz on September 13, 2004, 05:32:21 PM
I clicked on a bunch of thumbnails and they all pointed to the correctly corresponding picture.
Title: Re: CPG 1.32 top-rated images bug (?)
Post by: Sirowky on September 13, 2004, 05:33:56 PM
Please try again with thumbnail No. 15th   ;)
Title: Re: CPG 1.32 top-rated images bug (?)
Post by: Tranz on September 13, 2004, 05:37:15 PM
If by 15th you meant 3rd row, 5th column, it worked fine for me.
Title: Re: CPG 1.32 top-rated images bug (?)
Post by: Nibbler on September 13, 2004, 05:46:50 PM
It would be because the rank order of the images changed in between you loading the page and you clicking on a thumbnail. You don't get the pic for the thumb you click on, you get the 15th highest rated pic.
Title: Re: CPG 1.32 top-rated images bug (?)
Post by: Sirowky on September 13, 2004, 05:52:22 PM
??? My links worked completely wrong. It was wrong with 16th, 17th 21th,..

...
> Maybe this's why it happened: I've refreshed the page, the order of thumbnail changed (perhaps someone added votes to some pictures) -> CPG jumps to a picture by its position in an album (isn't it?); so it did jump wrong picture.

Thank you for replying ^.^
Title: Re: CPG 1.32 top-rated images bug (?)
Post by: Casper on September 13, 2004, 06:03:11 PM
It all worked fine for me also.  If your site is quite busy, this is likely to happen if you don't refresh, especially if you keep going back to the page using the back button.

ps, I like your use of smilies as the ranking icons  ;)