Hi. I’m creating a thumbnail page of all my members and I’d like to sort the images randomly. How can I do that? I’ve tried sort=“random” and orderby=“random” and neither work. Here’s the code I’m trying to apply it to:
<div class="album">
{exp:query sql="SELECT member_id FROM exp_members WHERE (group_id = '6' OR group_id = '1' OR group_id = '7')"}
{exp:member:custom_profile_data member_id="{member_id}"}
{!--The switch variable handles applying the required different css to every other entry --}
<div class="imageSingle">
<div class="image"><div id="tooltip"><a href="http://{path=staff/profile}{member_id}/">{exp:imgsizer:size image="{photo_url}" greyscale="yes" width="120px" height="120px" alt="{screen_name}" border="0"}</a></div></div>
</div>
{/exp:member:custom_profile_data}
{/exp:query}
</div>Thanks!