[SOLVED] Image profile field: Choose from Gallery or Upload

12 years 5 months ago - 12 years 5 months ago #182030 by jrb_trader
I wish to add an image field to our site's profiles. For this field, I would like members to have the same options as they do for the avatar. In particular, the ability to choose an image from a default gallery or upload their own.

Is it possible to do so with CB as it is, or would it require some modification?

Please Log in to join the conversation.

12 years 5 months ago #182094 by krileon
Only Avatar field can use the gallery. Image fields do not have access to the galley, sorry.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 5 months ago #182382 by jrb_trader
Where are the select field options for the image field being defined?

I'm more than willing to go into the code and modify it to get it to work, but I haven't had any luck finding the appropriate piece of code.

Please Log in to join the conversation.

12 years 5 months ago #182454 by beat
CB core plugin, in plugin/user/plug_cbcore/cb.core.php

But as usual, we recommend making an installable separate plugin, so you can still upgrade CB with new releases.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

12 years 5 months ago #182487 by jrb_trader
I thank you for your help. It was a very simple fix.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.204 seconds

Facebook Twitter LinkedIn