4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: hamstahue on June 17, 2006, 01:50:32 PM

Title: sorting images by name problem
Post by: hamstahue on June 17, 2006, 01:50:32 PM
Hi,

I'm trying to sort my photos by name but can't get it quite how i want.

The images are named photo1, photo2 etc.

If i try to sort by name they appear in order like:

photo1
photo10
photo11
photo12
photo2
photo3
...

Is there some way put them in order like:

photo1
photo3
photo4
...
photo9
photo10
photo11
...

I expect i will have to edit the code to get it how i want, but im not that experienced in website coding.
Can anyone help? or does it require too many changes.

thanks
Title: Re: sorting images by name problem
Post by: V@no on June 17, 2006, 02:41:37 PM
Unfortunetly MySQL does not support "natural" sorting...