I want make a photo gallery with Drupal and i want show photos uploaded by user in user's page. I tried add token [node:author:uid] to Content: Author uid as filter criteria, but that shows an error:

Unable to find user: [node:author:uid]

how to add a token to views filter criteria? thanks :)

  • Have you tried using contextual filters? Nov 26, 2013 at 12:38

1 Answer 1


Try adding a contextual filter - Content: Author uid and make it like below. I think this is what you need.

enter image description here

  • thnaks :) that worked :)
    – Ma3x
    Nov 26, 2013 at 20:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.