Different sort order in thumbnails and displayimage Different sort order in thumbnails and displayimage
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Different sort order in thumbnails and displayimage

Started by Titooy, April 08, 2005, 01:29:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Titooy

Someone has the problem on the french forum.

The problem I can see: in the toprated album, when some pictures have the same rating/number of votes, the sort order is not the same in thumbnails.php and displayimage.php. The concrete result is that when you click a thumbnail, it's not the good picture that comes.

Joachim Müller


Titooy

Thanks! Your first link was the good one...
It should work the best with "pid DESC" since it's unique (unlike filename).
I proposed it to the guy but it has to work... ;)