Member
Member
fakestar   06-07-2008, 18:40
#1

i'm trying to show the images of an album sorted by ID desc.
Latest images first. Seems it's not working.

it is showing the oldest first.

Member
Member
krainbolt   06-07-2008, 19:32
#2

If you want to sort your images with latest showing first, you should be sorting by Date, not ID. Sorting by ID causes Zenphoto to sort by date uploaded, not date created.

Member
Member
fakestar   06-07-2008, 19:44
#3

Not true what you said.

If i upload one image to an album, it increase the ID in database.
so if i want to show by ID desc, the last upload show first.
But it's not working here.

If i chose the date, it's not the upload date. cause i take a look in database and i got one image with this date 2008-06-15 00:00:00, but i upload it today.

Anyone can help me?

Member
Member
sbillard   07-07-2008, 01:07
#4

In answer to your first question. Change the sort direction. Latest first would require the order to be descending.

Member
Member
fakestar   07-07-2008, 06:11
#5

sbillard, it is in options>image display>Sort images by:>ID>Descending right?
If yes, already checked.
I add an image to album, it appears on last thumbnail.
Already refresh the database and clear cache.

Can be different php configuration? (I'm testing in localhost using wamp)


LOL i was typing this and i saw the menu option "Sort album", so forget all about i written above. Now it's working like a charm.

And thanks to make a near perfect photo album. I'm having fun modifying the layout ^^

Thanks!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.