sort by ID bug?

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.

Comments

  • 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.
  • 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?
  • In answer to your first question. Change the sort direction. Latest first would require the order to be descending.
  • 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!
Sign In or Register to comment.