- Posts: 9
- Thank you received: 0
Profile Picture or Image field
- Philip Walton
- Topic Author
- Offline
- New Member
Less
More
5 years 11 months ago - 5 years 11 months ago #120598
by Philip Walton
Profile Picture or Image field was created by Philip Walton
Hi Guys,
A little surprised not to see a photo field for user registration.
Can I use the the file field for the image and do an override to display the image in the users profile?
How do I pull out info from the user object in the override?
A little surprised not to see a photo field for user registration.
Can I use the the file field for the image and do an override to display the image in the users profile?
How do I pull out info from the user object in the override?
Last edit: 5 years 11 months ago by Philip Walton.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 11 months ago #120601
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Profile Picture or Image field
Hi
Maybe you can use built-in avatar feature instead? Go to Membership Pro -> Configuration, set Enable Profile Avatar config option to Yes and users will be able to upload avatar and it can be displayed on profile
I guess it will be easier to use that. If you still want to use File upload file type for that purchase, just use it. The data for that field (basically, is name of the file) is available. You will just have to modify code to show that field as image instead of just the value
Tuan
Maybe you can use built-in avatar feature instead? Go to Membership Pro -> Configuration, set Enable Profile Avatar config option to Yes and users will be able to upload avatar and it can be displayed on profile
I guess it will be easier to use that. If you still want to use File upload file type for that purchase, just use it. The data for that field (basically, is name of the file) is available. You will just have to modify code to show that field as image instead of just the value
Tuan
Please Log in or Create an account to join the conversation.
- Philip Walton
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
5 years 11 months ago - 5 years 11 months ago #120667
by Philip Walton
Replied by Philip Walton on topic Profile Picture or Image field
Thanks Tuan, I had looked for it there, I promise...must have been a "man" look!
Last edit: 5 years 11 months ago by Philip Walton.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 11 months ago #120668
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Profile Picture or Image field
Hope that existing option works well for you
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.