Skip to Content Skip to Menu

🏖 Summer has arrived! Start your summer right with our summer sale! Get 25% off professional and developer memberships with code SUMMER-2025!

Image Specifications

  • adhillon
  • adhillon
  • ONLINE
  • Posts: 112
  • Thanks: 6
  • Karma: 1
21 hours 11 minutes ago #341516 by adhillon
Image Specifications was created by adhillon
  1. We would like to provide image specifications to users, for:
    • Profile banner
    • Profile photo
    • Group canvas
  2. We would also like to create additional images and add them to the gallery. What are the guidelines for file names and locations in this case?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49344
  • Thanks: 8442
  • Karma: 1465
20 hours 42 minutes ago #341518 by krileon
Replied by krileon on topic Image Specifications

We would like to provide image specifications to users, for:

Can you be more specific? You just want to provide descriptive text? Size limits and everything is already included with the input display. You can however adjust this text by overriding the below language strings.

Key: IMAGE_FILE_UPLOAD_LIMITS_EXT
String: Your image file must be of [ext] type.

Key: IMAGE_FILE_UPLOAD_LIMITS_MAX
String: Your image file should not exceed .

Key: IMAGE_FILE_UPLOAD_LIMITS_WIDTH
String: Images exceeding the maximum width of will be resized.

Key: IMAGE_FILE_UPLOAD_LIMITS_HEIGHT
String: Images exceeding the maximum height of will be resized.

Key: BY_UPLOADING_YOU_CERTIFY_THAT_YOU_HAVE_THE_RIGHT_TO_DISTRIBUTE_THIS_IMAGE_FILE
String: By uploading, you certify that you have the right to distribute this image.

We would also like to create additional images and add them to the gallery. What are the guidelines for file names and locations in this case?

What gallery? The profile avatar and canvas gallery? By default those gallery files are located below.

/images/comprofiler/gallery
/images/comprofiler/gallery/canvas

You can upload new files there or you can edit your image fields and override the gallery folder location entirely to a custom location.


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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum