How can we remove the canvas preview or make it fit automatically when they upload a new canvas image?
Come worship Jesus with us..
GOD Speaks internet radio- - GOOD - Music that employs life, deliverance, & restoration - COMPLETE
godspeaksinternetradio.com/
Canvas does not have a static width. It has a static height, which is 200px. That should match what you see on profile assuming the widths are similar. You can set the canvas field to display on 2 lines in profile edit for it to preview better. Aside from that if you don't want it displayed you'll need to write custom CSS to hide it.
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.
Also setting the field for it for Maximum Image Height 199 and Maximum Image width 669. Also setting maintain aspect ratio to yes.
Any how with these setting if its bigger than the canvas are it shrinks it to fit and if its smaller it keeps it original size.
Any more tips you can think of please let me know.
Come worship Jesus with us..
GOD Speaks internet radio- - GOOD - Music that employs life, deliverance, & restoration - COMPLETE
godspeaksinternetradio.com/
Last edit: 2 years 7 months ago by GODpleasers. Reason: Justadding my findings to be helpful in case any one else is wondering.
Canvas has a static 200px height unless you rewrite the canvas CSS. The ideal image settings for the canvas field are as follows.
Maximum Image Height: 200
Maximum Image Width: 1280
Maximum Thumbnail Height: 100
Maximum Thumbnail Width: 640
Maintain Aspect Ratio: Yes, with User Cropping
Allow Client Resize: Enable
As for your CSS you'll need to make it more specific. You can use .cbEditProfile.cb_template to specifically style profile edit only. Beyond that I cannot help you as we do not provide custom coding assistance. Simple examples are provided to active professional/developer subscribers only and some basic coding assistance is provided to developer subscribers only.
Profile edit preview will always show the thumbnail image. It does not show the full size image there.
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.