[SOLVED] Hide no_image.jpg

11 years 5 months ago - 11 years 5 months ago #215322 by escalona
[SOLVED] Hide no_image.jpg was created by escalona
hola:
is there a way that when an image field is empty then not show anything? (Do not show no_image.jpg)

Please Log in to join the conversation.

11 years 5 months ago #215333 by krileon
Replied by krileon on topic Re: Hide no_image.jpg
Yup, using CB Conditional you can place a condition on the field for profile view only to check if it self is the blank image and if it is then hide it self.


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.

11 years 5 months ago #215341 by escalona
Replied by escalona on topic Re: Hide no_image.jpg
I'm sorry, I do not understand well with their English.
Can explain better?
Please see image
Attachments:

Please Log in to join the conversation.

11 years 5 months ago #215457 by krileon
Replied by krileon on topic Re: Hide no_image.jpg
Edit the field "Avatar" and configure as follows (tested working).

Display: Field conditional self
Field: Profile Image (avatar field)
Operator: is REGEX
Value: /nophoto_n.png|tnnophoto_n.png/
Mode: Hide
Registration: Disabled
Profile Edit: Disabled
Profile View: Enabled
Userlists Search: Disabled
Userlists View: Disabled
Direction: Two-Way


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.

11 years 5 months ago #215540 by escalona
Replied by escalona on topic Re: Hide no_image.jpg
Sorry, but I can not.
Only difference between your post and my website is my field is an another image, not avatar.
Please see files. Image 2 shows the image that can not hide
Attachments:

Please Log in to join the conversation.

11 years 5 months ago #215606 by krileon
Replied by krileon on topic Re: Hide no_image.jpg
I'm not sure what you're asking me here. The above removes the field from profile display if it's 1 of the 2 values. This usage is tested working. You need to configure it exactly as I've instructed or it's not going to work. It does not work anywhere other then profile view as it has all other views disabled for conditional usage.


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.

Moderators: beatnantkrileon
Time to create page: 0.307 seconds

Facebook Twitter LinkedIn