Is there a way to sort images in ablum by votes/rating?

Is there a way to sort images in ablum by votes or rating? I would really like that..

Comments

  • The next release of zenphoto will provide a custom sort that lets you sort by any field in the database. (This is available for preview in the nightly builds.) There is not exactly a field for the rating but there is a total_value field. That might be close enough.
  • Excellent..can't wait!
  • Then download the nightly and you will have it now!
  • Well I'll give it a go tonight. Is there anything special I need to do with the nightly thing?

    Thanks!
  • I do not see a total_value sort anywhere.

    Also, where is the image.php file now?
  • acrylian Administrator, Developer
    You need to look at the backend options. There you can set that manually for any db field, total_value is a db field.

    Sorry, what image.php file?
  • Ok, I'll look there for setting that field...thanks

    Before I switched to the nightly build I had a image.php file. See this thread : http://www.zenphoto.org/support/topic.php?id=4812

    I added a hit counter. Now with the nightly build I have no hit counter and no image.php file to edit.

    I do like the statistics page and I suppose this would suffice..

    My main concern right now is the sorting..
  • Every theme should have an image.php script. Something has gone wrong with your install somehow.
  • And it should be located:
    /zenphoto/image.php correct?
  • No, it would be in the theme folder--say `default/image.php` It has never been placed in the root folder.

    You can look at the `zenphoto.packate` file for a list of files.
  • Got it! thank you. Just need to center it and I'm golden...until I start messing with the DB for the sort option...
Sign In or Register to comment.