Search…

X3 Photo Gallery Support Forums

Search…
 
xordian
Topic Author
Posts: 3
Joined: 17 Apr 2007, 07:50

Image sorting

17 Apr 2007, 07:56

Hi,

No matter what I do to change the listing order of the images in the gallery, I can't get it right.
I have now changed all the imagesorting to date descending in practically all the ini files. I use a template and have changed it there as well as in the root.

I have contacted my web-hoster and asked them to help without any specific help. They couldn't understand.

I have tried to upload the images in the right order to see if that could do it without any luck.

It's still is sorted by name. It's like there is a ini file hidden somewhere which is overriding all the other ini files. Getting paranoid here! :)

Does anyone know a solution for this?

--

BillyBonkers
 
tomrock
Experienced
Posts: 51
Joined: 13 Mar 2007, 09:11

17 Apr 2007, 08:16

I think it uses the file date on the server for sorting. If you upload one file today, and another tomorrow, the tomorrow file would sort before the today file is you're using descending.

If you upload all the files on one day, the file dates on the server will all be the same.

Try uploading another file now and see if it works.
 
xordian
Topic Author
Posts: 3
Joined: 17 Apr 2007, 07:50

17 Apr 2007, 08:34

Hi,

I uploaded all the files at the same time a week ago. When I tried to upload a new image today it got sorted right by name. Sees like something is overriding. Strange....
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

18 Apr 2007, 01:52

Imagesorting based on date is a little tricky. It is based on when the server believes the files are created, which is usually the time they are created/uploaded to server. Sometimes when uploading, you simply drag a batch of files over by FTP, and this might create a random upload sequence for your images.

If you need to sort your images strictly, I would consider adding a name extension like 001_car.jpg, 002_bike.jpg and use the NA or ND imagesorting as described here: https://www.photo.gallery/support/docs/137
 
xordian
Topic Author
Posts: 3
Joined: 17 Apr 2007, 07:50

18 Apr 2007, 07:23

Hi,

Thank for your help.
It's a very annoying issue really. Especially concerning we are professional photographers.
The possibility to use the admin-site to upload new pictures when we are not in the office is a great opportunity, but this isn't much of use when we have to rename all the pictures in order to display our latest photograph at the beginning of the gallery. Then we have to logon with an FTP-client and do it all manually.

But the very strange thing about all this is that no matter what I do, uploading on different days, different time it all comes in the same order. And that is in fact name descending of all. In all the ini files there isn't one place that ND is typed. All the ini files have been set to: foldersorting: na and imagesorting: dd

--

Steffen - BillyBonkers
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

25 Apr 2007, 10:14

xordian wrote:But the very strange thing about all this is that no matter what I do, uploading on different days, different time it all comes in the same order. And that is in fact name descending of all. In all the ini files there isn't one place that ND is typed. All the ini files have been set to: foldersorting: na and imagesorting: dd
Im not sure I understand what you are saying here. There is obviously a difference between all 5 settings "NA", "ND", "DA", "DD" and "RND". Our own server
 
User avatar
vietknight
Experienced
Posts: 52
Joined: 09 Feb 2007, 23:43

10 May 2007, 14:19

Hey you guys. I've just tried to test the image sorting capabilities in Imagevuex, and there is definately a problem that is occuring when uploading images in a specific order and then arranging by date.
 
User avatar
vietknight
Experienced
Posts: 52
Joined: 09 Feb 2007, 23:43

10 May 2007, 14:25

 
User avatar
vietknight
Experienced
Posts: 52
Joined: 09 Feb 2007, 23:43

10 May 2007, 14:26

 
User avatar
vietknight
Experienced
Posts: 52
Joined: 09 Feb 2007, 23:43

10 May 2007, 14:26

 
User avatar
vietknight
Experienced
Posts: 52
Joined: 09 Feb 2007, 23:43

10 May 2007, 14:27

As you can see, the I have uploaded 6 images into a brand new folder called "testfolder", but the last two are out of order. Based on the server date information, "Me_Mom4" is uploaded 8 mintues before "Mom_Dad_Airport", however as you can see in the screenshot "Mom_Dad_Airport" appears before "Me_Mom4". I was even able to test the sever dates on my ftp and on their file manager to see if there was any difference, none was detected.
For those who want to see the site:
Code
http://vietknight.freehostingnow.com/upload/
I hope there will be a fix for this, even though it should be really easy arranging it based on the server-side date tag...but the sorting doesn't seem to be in effect.
 
User avatar
vietknight
Experienced
Posts: 52
Joined: 09 Feb 2007, 23:43

10 May 2007, 14:28

Sorry for the multi-posting, as there also seems to be a max post length and my posts seem to be cut off..so I had to do it in portions.
 
User avatar
vietknight
Experienced
Posts: 52
Joined: 09 Feb 2007, 23:43

17 May 2007, 02:07

I have just made a major breakthrough in a possible reason why the images aren't sorting properly even though I've uploaded it accordingly based on my posts above.

The one possibility that might disrupt the sorting of the images is the fact that the PHP of the server is running under "safe_mode", or safe_mode = "ON", that seems to be the only distinct difference to me when testing out whether my images were able to sort and properly or not.

Maybe someone can do some further testing to confirm it :roll:
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

18 May 2007, 02:11

Thanks for putting time into this and keeping us updated in the forum. For a future release, we will preferably be using a DATE coming from the JPG file when it was taken/created, which is a more feasible option for sorting by date.