SuiteCRM image and attachment fields

SuiteCRM 8.9 and 8.10 add attachment, file and image fields to Studio. This page explains the options, setup sequence, storage and performance trade-offs, and what to confirm before rollout.

On this page

How SuiteCRM image and attachment fields work and when teams need them

A sales team building quotes needs product photos on the product record. A service team handling warranty claims needs the supplier's logo on the account and the signed contract on the opportunity. Without a field for these files, users attach them ad hoc, names drift, and the next person cannot find the current version. SuiteCRM 8.9 documented Attachment, File and Multi Relate field types, and SuiteCRM 8.10 added an Image field that can be added to any module in Studio. Together they let an administrator decide which records carry files and images as structured data rather than as loose links in notes.

The Image field in 8.10 has options for storage type, display dimensions and preview. Automatic thumbnails and lazy loading in list views and subpanels are set in config_override.php, so the list view stays fast when many records carry images. Choose the storage type with the platform's hosting plan in mind, and test how thumbnails behave on a list of several hundred records before rollout. Attachment and File fields follow the same Studio workflow, but the exact behavior of each option, including file size handling and how previews render, should be confirmed against the release notes for the version you run.

Link to an external document when the file already lives in a governed repository with its own versioning, access rules and retention, and the CRM only needs a pointer. Use a stored field when the file must travel with the record, be visible to users who can see the record, and be covered by the same backup and access model. Contract files and signed documents often need the stored approach, and large media libraries usually do not. The SuiteCRM 8.10 release notes and the SuiteCRM 8.9 release notes are the sources for exact field behavior, so confirm the options and defaults there before writing the design.

Which field type fits product photos, logos and files

Use the Image field when a record needs a picture that users should see at a glance, such as a product photo on a product record or a company logo on an account. SuiteCRM 8.10 added the Image field, which can be placed on any module in Studio. It offers options for storage type, display dimensions and preview, and list views and subpanels can show automatic thumbnails.

  • Module placement: Confirm in the 8.10 release notes that the Image field can sit on each module you plan to use, including any custom module.
  • Storage type: Check which storage types the release notes list before you commit, because switching later can mean moving existing files.
  • Display settings: Decide the dimensions and preview behavior for detail views and edit views separately, since list views need smaller images.
  • Thumbnails and lazy loading: Thumbnail and lazy loading behavior is set in config_override.php, so plan that configuration with the rest of your overrides.
  • Version gate: Image fields are documented from 8.10, so a 8.9 or earlier instance needs an upgrade before you build on them.

Before choosing, confirm in the 8.10 release notes which options apply to your version and whether they match the number of images you expect per module.

Configuration options and when each fits

This table compares the documented Image field options in SuiteCRM 8.10, including storage type, display dimensions, preview, thumbnails and lazy loading. Each row names the trade-off it creates for page weight, storage growth or admin effort. The main takeaway is that thumbnail and lazy loading settings matter most on list views with many records, so confirm the exact keys and defaults against the 8.10 release notes before you set them.

OptionWhat it controlsTrade-off it createsWhen it fits
Storage typeWhere uploaded image files are kept for the fieldLocal storage is simple to run but grows the server disk, while external object storage moves growth off the web host and adds configurationChoose object storage when product photo libraries will grow large or when hosts are stateless
Display dimensionsThe width and height the image is shown at on the record viewLarger display sizes increase the bytes a browser loads per record, so the cost rises with every page that shows the imageUse modest dimensions for logos and product photos shown in lists and detail views
PreviewWhether users can open a larger preview from the fieldPreview adds a second, larger file request on demand, which helps users but needs the original file to be stored at full sizeEnable when sales or service staff must check photo detail without leaving the record
List view thumbnailsWhether a small generated image appears in list viewsThumbnails reduce page weight compared with full images, but generating them adds processing on upload and disk use for the thumbnail filesUse for product and account lists where users scan visually, and test with realistic record counts
Subpanel thumbnailsWhether thumbnails show in related record subpanelsEach subpanel row can add image requests, so busy subpanels multiply page weight on a single record viewEnable only where related images help a decision, such as products on an opportunity
Lazy loadingWhether images load only as they scroll into viewLazy loading lowers initial page weight for long lists, but a slow browser or misconfigured proxy can show blank placeholdersEnable for list views with many records; confirm the setting name in config_override.php
Attachment and file fieldsSeparate field types in SuiteCRM 8.9 for general files, distinct from image fieldsFiles are not thumbnailed, so storage growth is the main cost driver and retention rules matter moreUse attachment fields for contracts and documents, and image fields only for pictures and logos

Setting up image and attachment fields in Studio step by step

This sequence takes a SuiteCRM 8.9 or 8.10 instance from a version and stack check through a staging test, a Studio field definition, storage and display settings, and thumbnail tuning, ending with verified list views, subpanels and detail views. Each step closes with a check so the team knows it is safe to move to production.

  1. Confirm version and stack against the matrix

    Confirm the running SuiteCRM instance is 8.9 or 8.10, since the Image field is documented for 8.10 and the Attachment, File and Multi Relate field types are documented for 8.9. Then compare the PHP, Apache, MariaDB or MySQL versions on the server with the SuiteCRM 8 compatibility matrix. Record the exact version numbers in the change ticket. The step is done when the version and every stack component are written down and each one appears as supported in the matrix. If the instance is on an earlier 8.x release, plan the upgrade first and do not add these fields until it is complete.

  2. Clone production into a staging instance

    Build a staging copy of the SuiteCRM instance with the same version, the same PHP and database stack, and a copy of the database and files. The team should run this work, with the platform owner approving it. Before any change, take a backup of files and database, following the SuiteCRM migration guidance on backups and customization review. The step is complete when staging logs in, the scheduler runs, and a test record can be opened, so you know the copy behaves like production.

  3. Add the field in Studio

    In Studio, open the module that will hold the photo, logo or file, and add a new field of type Image for pictures or Attachment or File for documents. Give the field a clear system name and label that users will recognize. Save and publish the layout so the change is applied. The step is complete when the new field appears on the module's edit view in staging and a test user can see it in the form without errors in the logs.

  4. Set storage and display options

    Choose the storage type for the field and the display dimensions and preview settings that Studio offers for images. Confirm the storage type with your infrastructure team before you rely on it, because storage location affects backups, retention and access controls. Verify your choices against the release notes for the version you are running. The step is complete when a test upload to the field saves, reloads, and displays at the chosen size in the detail view, with the stored file visible where the storage type says it should be.

  5. Configure thumbnails and lazy loading

    Set thumbnail and lazy loading behavior for list views and subpanels in config_override.php, which is the documented override file, so core configuration stays untouched. Keep the change small and record every key you set. Confirm the exact configuration keys in the 8.10 release notes for your version before editing. Clear caches as your environment requires and reload the application. The step is complete when the config file loads without errors and the list view shows thumbnails with images loading as the user scrolls.

  6. Test list views, subpanels and detail views

    Load a set of sample records in staging, including records with no image, a large image, a very long file name and a file of an unexpected type. Check the list view, each subpanel that shows the module, and the detail view. Confirm that thumbnails render, that missing images show a sensible placeholder, and that files download with the right permissions for a user with restricted access. The step is complete when every test case passes and the results are recorded with screenshots and the record IDs used.

  7. Check page performance at realistic record counts

    Test list views with record counts that match production, not just the sample set. Measure page load and scrolling behavior with lazy loading enabled and disabled, and watch server and database load during the test. Compare results against the pre-change baseline recorded in staging. Ask your platform team which load thresholds they require before go-live, since these must come from your own environment. The step is complete when the team has a written sign-off that list views perform at the agreed level and that any problems are either fixed or accepted.

  8. Promote the change to production with a rollback plan

    Schedule the production change in a window agreed with users. Repeat the Studio and configuration steps in production exactly as tested in staging, using the same settings file, then run the same verification checks on a few known records. Keep the pre-change backup available and document how to revert the Studio layout and config_override.php. The step is complete when production users can add, view and download a test attachment and the change record shows the verification results and rollback steps.

How an uploaded image or file moves through SuiteCRM

The path starts in the browser, where a user picks a file for a field that Studio defined on a module. The upload crosses the trust boundary into the SuiteCRM application server, which validates it and writes it to the configured storage backend, then records the field value against the record. When a list view or subpanel renders, the application produces a thumbnail and the browser requests it lazily as rows scroll into view. Check the field's storage type and the thumbnail and lazy loading settings in config_override.php before you load production volumes.

Upload, storage, thumbnail and lazy display, with the browser-server trust boundary marked.

Storage backends and lazy loading at scale

The storage type you choose for an Image or attachment field decides where the files live, who can reach them and how much your hosting has to carry, so make that decision before anyone builds fields in Studio. Two questions drive it: whether files must stay on the application server's disk or in the object storage you already run, and whether your backup and retention process already covers that location. Confirm which storage types the 8.10 Image field offers and any backend requirements in the SuiteCRM 8.10 release notes, because the options and their prerequisites are what the release notes document, not what this page assumes. Also ask your hosting team whether the chosen location fits your file storage setup and backup schedule.

Thumbnails add work to every list view and subpanel that shows the field. Each visible row can request its own image, so a module with many records and a populated image field can make a list page noticeably heavier than the same page with text only. The effect grows with page size, the number of image columns and the size of the source files, which is why uploading full-resolution product photos into a list-heavy module is a common source of slow pages. Keep source files reasonably sized and check whether the display dimensions you set in Studio are the ones the thumbnail generation actually uses. Treat these as hypotheses to test, not guarantees.

Lazy loading defers image requests until the rows are near the visible part of the page, which matters most for large modules such as accounts, products or contacts with long histories. Its settings sit in config_override.php, so changes belong in version-controlled configuration rather than ad hoc edits. Before go-live, build a staging copy with realistic record counts and attachments, then measure list view and subpanel load times with lazy loading on and off, and with thumbnails generated and not yet generated. Record the results, and repeat the test after each SuiteCRM minor upgrade, since rendering behavior can change between releases.

Security and operational considerations for uploaded files

Image and attachment fields move customer files into the CRM, so they bring storage, access and retention work that a text field does not. The cards below cover the decisions to settle in Studio and infrastructure before users upload anything, and the checks to repeat after each 8.x release.

Set file type and size limits

Decide which file types each attachment and image field accepts, and the maximum size per file, before the field goes live. Image fields suit common photo and logo formats, while attachment fields can accept documents that may carry active content. Confirm in Studio and your own testing which restrictions the field setting enforces and which must be handled at the web server or proxy. Test with an oversized file and a renamed executable to see what the application actually rejects.

Control who views and downloads

Files inherit access from the record they sit on, so a user who can see an account may also see every attachment on it. Map field-level visibility to your security groups and roles, and test as a user from each team and region. Pay particular attention to attachments on records shared across business units, since a broad role can expose documents meant for one team only.

Confirm malware scanning

Ask whether uploads are scanned for malware before anyone downloads them. Nothing in the researched material confirms that SuiteCRM scans attachments, so treat this as an open question. If no scanner is built in, plan one at the storage or proxy layer, and document how infected files are quarantined and who is notified. Include the answer in your security review evidence.

Back up files and the database

A database backup does not capture files stored on disk or in object storage, so restoring the database alone can leave records pointing at missing attachments. Define the backup scope for the upload directory or bucket, the database, and any configuration that controls storage. Test a restore that brings back both together and checks a sample of attachments by opening them.

Set retention and deletion rules

Decide how long attachments are kept, who may delete them, and whether deleting a record also removes its files. Some organizations must delete personal documents on a schedule, and others must hold them for a fixed period. Confirm how deletion behaves in the storage backend, including whether removed files persist in backups, and record the rule so it can be shown during an audit.

Patch after each 8.x release

SuiteCRM 8 minor releases arrive roughly every eight weeks, and each one can change how fields and files are handled. Patch releases carry only security and bug fixes, so apply them promptly and check the release notes for changes to the image and attachment fields. Test each upgrade on staging first, and re-run your file access and upload checks afterward.

Minor release cadence
8 weeks

Questions buyers ask before adding image or file fields

What drives the cost of adding image and attachment fields to SuiteCRM?

The cost depends mostly on how many modules receive the new fields, how you store the files, and how much testing the change needs. Each module needs its Studio layout, list view and subpanel display decided, and each storage choice adds configuration and verification work. Sizing storage for the expected file volume and running the change through a staging environment are separate line items that buyers often overlook. No price is published here. Ask any provider for a quote that lists the module count, the storage backend, the testing scope and whether migration of existing records is included, then compare quotes on those same items.

Can an internal admin add image or file fields without a partner?

Yes, for a small change, an internal SuiteCRM administrator can add an Image or Attachment field in Studio, provided they have the right role and access to a staging instance. SuiteCRM 8.10 added the Image field to Studio for any module, and SuiteCRM 8.9 documented the Attachment, File and Multi Relate field types. The harder work is deciding storage, thumbnail behavior and lazy loading in config_override.php, then checking how those settings affect performance and access. Confirm that your admin has tested these settings in a non-production copy and that someone owns the decision on where files are stored.

How long does testing take for image and attachment fields?

Testing time depends on the number of modules, the file types and sizes involved, and the volume of existing records. A single module with a few sample files can be checked in a short cycle, while several modules with large image libraries need list view, subpanel, permission and load testing across realistic data. Ask for the testing plan in writing, including which modules, user roles, file types and record counts are covered. Any duration you are quoted should follow from that written scope, not from a general figure.

What does the client need to provide for this work?

The work needs a staging environment that matches production closely enough to test storage, display and permissions, plus sample data that represents real product photos, logos and documents. Each module also needs a named business owner who can approve the field layout, the list view display and who may see the files. Operations staff should confirm backup coverage for the storage location before go-live. Without these inputs, testing tends to use placeholder files that miss size, format and permission problems.

Will later SuiteCRM 8.x releases break custom image or attachment fields?

Custom fields created in Studio are generally expected to carry through minor releases, but each upgrade needs checking against the release notes before it is applied. SuiteCRM minor 8.x releases arrive roughly every eight weeks, and patch releases contain only security and bug fixes with no new features or database changes. Minor releases can add or change features, so the image and attachment settings, config_override.php entries and any customizations should be retested on staging for each minor upgrade. Confirm the upgrade path with your provider and keep the custom configuration documented.

How should storage be sized for product photos and attached files?

Storage sizing starts with the number of records that will hold files, the average and largest file sizes, and how many versions or attachments each record accumulates. Growth should be estimated for at least the expected retention period, and backup copies should be included in the total. Decide early whether files live on the local file system or in an object storage backend, because that choice affects backup, access control and scaling. Ask the team to produce these figures from their own data rather than relying on a generic estimate.

Do lazy loading and thumbnails affect security or access control?

Thumbnails and lazy loading change how and when images are requested, so they should be checked against your record-level access rules. A user who cannot open a record should not see its image through a list view or subpanel, and this should be tested with each role in use. Confirm how thumbnails are generated and stored, and whether a thumbnail can be reached without the parent record permission. Include this check in the test plan for every module that displays images.

How DeployOpen works on this

DeployOpen plans, builds, tests and documents SuiteCRM image and attachment fields inside infrastructure you control. We start with a written scope that names the modules, field types, storage backend and access rules before any Studio change is made. The work ends with a handover your admins and compliance reviewers can follow without us.

How we scope

  • We list every module that needs an Image, Attachment or File field and why each one needs it.
  • We confirm your SuiteCRM version, since Image fields are documented for 8.10 and attachment types for 8.9.
  • We agree in writing where files will be stored and who can view, download or replace them.

How we build

  • We add the fields in Studio on a staging instance, then set display dimensions, preview and storage options.
  • We configure thumbnail and lazy loading settings in config_override.php and test list views and subpanels.
  • We test upload size limits, file types and permissions for each role before anything reaches production.

How we hand over

  • We deliver a runbook covering field definitions, storage settings, backup scope and the steps to change them.
  • We document which customizations sit outside core files so later SuiteCRM upgrades can be planned safely.
  • We walk your admins through the configuration and record the test results you can share with reviewers.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • We retest image and attachment behavior when you move to a later SuiteCRM 8 minor release.
  • We review storage growth and list view performance with your team as more records carry files.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.