Image Viewer: Loading Images from a Third-Party Source

When a user specifies an image from a third-party source (such as a third-party integration), the Cross-Origin Resource Sharing (CORS) policy may prevent the system from loading it.

To resolve this issue, in the qp-image-view control, specify showProgress: false, as shown in the following code. This setting disables the CORS policy and the progress bar for uploading the image.

export class SendGridDesignImportParameters extends PXView  {
	...
  @controlConfig({showProgress: false})
  ThumbnailUrl : PXFieldState;
}