Page 1 of 1
Image sorting
Posted: 17 Apr 2007, 07:56
by xordian
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
Posted: 17 Apr 2007, 08:16
by tomrock
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.
Posted: 17 Apr 2007, 08:34
by xordian
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....
Posted: 18 Apr 2007, 01:52
by mjau-mjau
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
Posted: 18 Apr 2007, 07:23
by xordian
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
Posted: 25 Apr 2007, 10:14
by mjau-mjau
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
Posted: 10 May 2007, 14:19
by vietknight
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.
Posted: 10 May 2007, 14:25
by vietknight
Posted: 10 May 2007, 14:26
by vietknight
Posted: 10 May 2007, 14:26
by vietknight
Posted: 10 May 2007, 14:27
by vietknight
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:
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.
Posted: 10 May 2007, 14:28
by vietknight
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.
Posted: 17 May 2007, 02:07
by vietknight
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

Posted: 18 May 2007, 02:11
by mjau-mjau
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.