• Resolved miroslavps

    (@miroslavps)


    Hi to all, I searched in the Net and in the forum but didn’t find information, so I will ask.
    In some of the gallery modules lightbox preview there is a Like Button – heart or thumb-up icon. When I click it, it remember my choice and next time when I open the gallery I can see my votes, but is there a way to see most voted images somewhere?
    Thanks and best regards!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rattus

    (@pasyuk)

    In admin Gmedia Library -> click on Screen Settings (right top button) -> select order by Likes DESC and Apply.

    To show the Gallery with the most liked images you can set order by Likes too in Query Builder and limit images to any quantity with Limit field.

    Thread Starter miroslavps

    (@miroslavps)

    Yes, thanks, actually I created a gallery and in Build query set order by votes DESC, unfortunately I can not set second condition – votes to be greater than 0. Without it the gallery just show last added images.

    Regards!

    Plugin Author Rattus

    (@pasyuk)

    Update Gmedia to the latest version 1.16.9 and set parameters like on screenshot:

    https://monosnap.com/file/EDgK42SyjleBx5d1aFKsXtO7VL1vMn

    Custom Field Key: ‘likes’
    Custom Field Value: ‘0’
    Compare Operator: ‘>’
    Meta Type: ‘NUMERIC’
    Order: ‘DESC’
    Order by: ‘Custom Field Value (Numeric)’

    Thread Starter miroslavps

    (@miroslavps)

    Thanks, Order by: ‘Custom Field Value (Numeric)’ was the key for the success query.
    Best regards!

    Hi,
    I’ve noticed that clearing the browser data, allows a visitor to hide the previously liked images, but is there a way for a visitor to unlike a photo?

    Thanks

    • This reply was modified 4 years, 11 months ago by cyberol.
    • This reply was modified 4 years, 11 months ago by cyberol.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Gallery Like Button’ is closed to new replies.