display images sort by vote

love-part

Joined: 2013-03-04
Posts: 13
Posted: Fri, 2013-03-08 10:03

Hello !
I don't know if the question has already been asked. I would like to know if it is possible to display images by best vote.
If yes ? How ?

Thank you

S.A.

 
JakeJohnsonster

Joined: 2013-01-17
Posts: 24
Posted: Mon, 2013-03-11 12:42

I'm also interested in this. There is a nice ratings module. But, then no easy way to plug that information into the website. For example, sort by rating.

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Fri, 2013-03-15 15:08

Possible, but could get complicated. I haven't used the ratings module, but my guess is that it adds a table to the database to store the ratings. That information could be joined to a query and used for the sort order. To make it work dynamically (e.g. click to sort by rating), you'd need to pass a variable that could be checked in an if statement to decide the sort order.