Simplified custom query to only return thumbnails, not whole posts.