Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a rule with Events:
-After saving a new user account
-After updating an existing user account
In conditions, I try to put "Data value is empty" -> account: (I don't found "picture", "image" or any of this)
I have:
admin/config/people/accounts
user images [check]
Comments
Comment #1
Subhransu.addweb CreditAttribution: Subhransu.addweb at AddWeb Solution Pvt. Ltd. commentedTry this rules.
1. Event:-
After saving a new user account.
After updating an existing user account.
2. Conditions:-
Data comparison(image field).
rules name:user image.
Hope that helps you.
Thanks!
Comment #2
Subhransu.addweb CreditAttribution: Subhransu.addweb at AddWeb Solution Pvt. Ltd. commentedComment #3
melonangie CreditAttribution: melonangie commentedI dont see "site:current-user:field-user-image"
Comment #4
TR CreditAttribution: TR commentedThis question was answered in #1. "Needs review" was the wrong status ...
Re #2: You need to enable user pictures at /admin/config/people/accounts in order for the user image field to be available.
Comment #6
noopal CreditAttribution: noopal commentedI have enabled user pictures at /admin/config/people/accounts. I am trying to check if a user has a picture but the option is not there in rules.
I have the following variables available
Using latest version of Drupal 7 and Rules.