HomeVendure CoreShow hidden breadcrumbs...PipesAssetPreviewPipeOn this pageAssetPreviewPipe@vendure/admin-uiSource Given an Asset object (an object with preview and optionally focalPoint properties), this pipe returns a string with query parameters designed to work with the image resize capabilities of the AssetServerPlugin. Example HTML<img [src]="asset | assetPreview:'tiny'" /><img [src]="asset | assetPreview:150" /> Signatureclass AssetPreviewPipe implements PipeTransform { transform(asset?: AssetFragment, preset: string | number = 'thumb') => string;} Implements: PipeTransform transformmethod(asset?: AssetFragment, preset: string | number = 'thumb') => stringWas this chapter helpful?It was helpfulIt wasn't helpfulReport IssuePreviousPipesNextDurationPipeEdited Jan 28, 2026ยทEdit this page