Troubleshooting and Migration

When a B2C Commerce Dynamic Imaging Service image URL fails, times out, or looks wrong, check the source file, the full URL, and the limits in Dynamic Imaging Service.

Which Salesforce Commerce Product Do I Have?

Also use this guidance to migrate from other hostnames and external digital asset management (DAM) services.

File size, timeout, Content Delivery Network (CDN) and non-CDN behavior, and 4xx or 408 responses are documented under What Limits and Caching Rules Apply? and Dynamic Imaging Caching. Use this topic for troubleshooting steps. The numeric limits stay in that topic.

How Do I Troubleshoot a Broken, Slow, or Missing Image? 

In B2C Commerce, start with the image URL the storefront requested.

Slowness or Timeouts 

In B2C Commerce, a slow image is often a cold cache or a transform that is too expensive.

How Do I Migrate from Another Image Host? 

In B2C Commerce, use this section to migrate from an external digital asset management (DAM) service, for example Adobe Scene7.

When you replace a historic infrastructure or vendor CDN hostname, don’t hand-edit a new edge host without an approved pattern from your program. Regenerate correct URLs with URLUtils and MediaFile, or from a community helper for your vanity storefront domain, as described in Community Product Image Wrapper.

This mapping is rough. Verify every parameter in Which Transformations Are Supported?. Adobe Scene7 is one example. Use this mapping when an external DAM service uses this kind of query string.

Typical Scene7-styleTypical Dynamic Imaging Service direction
wid=400scaleWidth / sw=400 in your transform or query.
hei=400scaleHeight / sh=400.
fmt=jpeg or fmt=pngOutput file extension and, when needed, format / sfrm, as in the Format row of Supported Transformations.
qlt=80quality / q=80, or omit q when you keep the default of 80.
Padding or extend (vendor-specific)Use cx, cy, cw, and ch, then sw / sh, in the fixed order in URL Structure and Order of Operations.

DAM and Bulk Migration 

For a third-party digital asset manager (DAM), export a large master image, upload it to the correct B2C Commerce library and view type for your feed, run your import and replication jobs, and then point the storefront at URL generation through URLUtils and MediaFile, or a community helper. Stop deep-linking the old vendor CDN after cutover.

When you open a case with Salesforce Support, include a full repro URL (path and query), realm and site context, the expected and observed HTTP status or bytes, and what you already tried from this topic.

See Also