Image editor

Image editor

The 3B Image Editor lets internal users fix and mark up the images attached to any record without leaving Salesforce. Typical uses:

Saving never overwrites anything. The edited image is stored as a new version of the same Salesforce File, so the original stays in the file's version history and every edit records who made it and when.

Where it appears

Page Location
Certificate record page (Certificate Record Page) Image Editor tab, next to Details and Activity
Contact record page (Candidate_Applicant_LRP) Files tab, then the inner Image Editor tab (the inner Files tab holds the existing Record Files, AI File Parser and Files list)

The component can be added to any other record page in Lightning App Builder: search for 3B Image Editor.

Property API name Type Default Notes
Frame Height height Integer 820 Height of the editor in pixels. 700 to 900 suits most screens.

The Certificate Record Page is set as the Certificate view page in the 3B Onboarding app. If your org assigns a different Certificate page, add the component to it or activate the packaged page in Lightning App Builder.

Using the editor

  1. Open the Image Editor tab. The editor loads the most recently changed image on the record.
  2. Pick a different image from the strip of thumbnails along the bottom. Only image files are listed: JPG, JPEG, PNG, WebP, GIF and BMP. PDFs and other documents are ignored.
  3. If the file has more than one version, choose the version to edit from the Version picker in the header. Each entry shows the version number, when it was uploaded and by whom. The latest version is selected by default.
  4. Edit the image with the tools on the left:
Tool What it does
Adjust Rotate in 90 degree steps (selected when the editor opens), flip horizontally or vertically, crop freely or to a preset ratio
Annotate Text, rectangles, ellipses, polygons, lines, arrows, freehand pen and images
Watermark Add a stamp from the gallery (see below), a text watermark or an uploaded image; adjust size, position, opacity and padding
Resize Change the pixel dimensions, with or without keeping the aspect ratio
Finetune Brightness, contrast, saturation, warmth, blur and similar adjustments, useful for dark or washed-out scans
  1. Click Save. The image is stored as a new version of the same file, keeping the file name. The header returns to the new latest version and the record page refreshes so the Files list shows the change.

Scrolling with the mouse wheel over the editor scrolls the record page as usual. To zoom the image, hold Ctrl (Windows) or Cmd (Mac) while scrolling, pinch on a trackpad, or use the - / + zoom buttons above the image.

An Unsaved changes badge appears as soon as you edit. Switching to another image or version while it is showing asks you to confirm before your edits are discarded. Undo and redo are in the top right of the editor, and Save stays disabled until something has changed.

Tip: rotate first, then stamp

Stamps and annotations are placed relative to the image as it was loaded. If an image is sideways, rotate it and click Save first, then add the stamp to the newly saved version so the stamp sits upright.

Saved files

Item Behaviour
Version A new ContentVersion on the existing ContentDocument. Earlier versions are kept and can be reopened from the Version picker or the file's version history.
File name Unchanged. JPG / JPEG and WebP files stay in their format. PNG, GIF and BMP files are saved as PNG (lossless). Animated GIFs are saved as a single still frame.
Size The saved image keeps the original pixel dimensions unless you resize it. JPEG and WebP are saved at 92% quality.
Sharing The file's existing links and their visibility are not changed by a save.
Large files Supported. Files over 3 MB are loaded and saved directly through the Salesforce API rather than Apex, so Apex heap limits do not apply.

Stamps (Image Stamp custom metadata)

Stamps are rubber-stamp style images offered in the Watermark tool gallery. Each stamp is drawn in the browser when the editor opens, so it always carries the name of the person editing and today's date. A long subtitle wraps onto extra lines so the stamp stays compact. When added, a stamp is placed in the centre at about half the image width on portrait and landscape images alike; drag it to move it and use the corner handles to resize or rotate it.

They are configured as Image Stamp (b3o__Image_Stamp__mdt) custom metadata records: Setup > Custom Metadata Types > Image Stamp > Manage Records.

Field API name Required Notes
Label MasterLabel Yes Admin-facing name, used to sort stamps with no sort order.
Text b3o__Text__c Yes Main wording, printed large in capitals. Up to 60 characters.
Subtitle b3o__Subtitle__c No Smaller second line. {user} is replaced with the editor's full name and {date} with today's date in the user's locale. Up to 120 characters.
Color b3o__Color__c No Hex colour code such as #B91C1C (red) or #1D4ED8 (blue). Blank or invalid values use dark red #B91C1C.
Active b3o__Active__c No Only active stamps appear. Defaults to checked.
Sort Order b3o__Sort_Order__c No Lowest first. Blank values come after numbered stamps, ordered by label.

All fields are subscriber controlled. Create or edit stamp records in your org.

Correct as original sample

Correct as original is supplied as separate setup metadata, available from 3B support. Deploy it or create an Image Stamp record with these values.

Label Text Subtitle Color Sort Order
Correct as original CORRECT AS ORIGINAL Verified by {user} on {date} #B91C1C 10

For a user named Jo Bloggs on 19 November 2026 the stamp reads CORRECT AS ORIGINAL with Verified by Jo Bloggs on 19 Nov 2026 underneath.

More examples

Text Subtitle Color Use
SEEN {user} ยท {date} #1D4ED8 Lightweight "reviewed" mark
COPY Not valid without original #4B5563 Marks a file as a copy
REJECTED Checked by {user} on {date} #B91C1C Marks a document that failed review

Access and security

Troubleshooting

Symptom Cause and fix
"No images on this record" The record has no JPG, JPEG, PNG, WebP, GIF or BMP files. HEIC photos from iPhones are not supported by browsers: convert them to JPG before uploading.
A thumbnail shows the file type instead of a picture Salesforce has not generated a preview yet (common right after an upload or save). The image still opens in the editor.
Save fails with an access error The user cannot create versions of that file. Ask the file owner to share it with Collaborator access, or have the owner make the edit.
No stamps in the Watermark gallery No active Image Stamp records exist. Create an active stamp record or activate an existing one.
Stamp appears sideways It was added after a rotation in the same edit. Save the rotation first, then stamp (see the tip above).