Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: ascending filename  (Read 3356 times)

0 Members and 1 Guest are viewing this topic.

pinklady

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
ascending filename
« on: August 06, 2004, 04:38:48 am »

i want to display the files in filename ascending order. Somehow, the images are not being displayed corrected. The are displaying in the order like this: 1.jpg, 10.jpg, 11.jpg, 12.jpg, 13.jpg, 2.jpg,21.jpg....  Why 2.jpg would come after 10.jpg??
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: ascending filename
« Reply #1 on: August 06, 2004, 07:24:46 am »

there's a default sorting order you can specify in coppermine config, and there's a user sorting order you can specify on each thumbnail screen. You probably have configured yourself (your admin user) to use another sorting method as the default user will have. Create a test user and check what sort method he has applied.

GauGau
Logged

Nibbler

  • Guest
Re: ascending filename
« Reply #2 on: August 06, 2004, 02:50:01 pm »

Thats simply the way MySQL orders things, it doesnt have a natural sort afaik. Name your files with leading zeros to avoid this if you can.
Logged
Pages: [1]   Go Up
 

Page created in 0.058 seconds with 19 queries.