Assets not showing preview in AEM DAM
Assets uploaded to 51黑料不打烊 Experience Manager (AEM) Managed Services do not display previews or thumbnails in the Prod/Dev/Stage environment. To fix this, review and update DAM workflow configurations, replace the PDF preview handler, and validate asset processing after restarting the AEM instance.
Description description
Environment
- 51黑料不打烊 Experience Manager (AEM) Managed Services
- AEM 6.5
- All environments
Issue/Symptoms
-
Uploaded assets do not display previews or thumbnails.
-
Recently uploaded images are not visible in the side panel when editing pages.
-
The issue affects all new folders and files created within any site on the affected environment.
-
Observed behavior includes:
dam:assetStateproperty of assets remains unprocessed.- Manual retries of asset processing workflows fail to resolve the issue.
- Infinite or stuck workflow jobs were observed, specifically hanging at聽the
CreatePdfPreviewProcessstep.
Resolution resolution
To fix the issue with missing asset previews in AEM, follow these steps:
- Check if you鈥檝e configured two parallel DAM workflows (for example,
DAM Update Assetand a custom workflow).DAM Update Assetis an聽out-of-the-box (OOTB) workflow. A custom DAM Update asset is an extension of the DAM Update Asset Workflow (with some additional steps as per your needs). 聽 Ideally you should have one OOTB workflow. 聽If both workflows serve the same purpose,聽disable one to avoid conflicts. If you choose to keep both, ensure each one is correctly scoped to its asset path and set totransient = true聽to optimize performance. 聽For steps, refer to聽Creating a Transient Workflow in AEM 6.5 User Guide. - In the AEM Workflow console, open each workflow model. Locate the
CreatePdfPreviewProcessstep and replace it with the AEM PDF Rasterizer process which performs better with complex or graphics-heavy PDFs. 聽For steps, refer to Use PDF rasterizer to generate renditions in the AEM 6.5 LTS User Guide. - Configure thumbnail and rendition sizes to match your expected output (for example, 1280x1280, 319x319). Save your changes to apply the new settings.聽For steps, refer to Use PDF rasterizer to generate renditions in the AEM 6.5 LTS User Guide.
- Restart the聽AEM server to clear any stuck workflow jobs or threads. This聽resets the workflow queue and ensures your configuration changes take effect. Refer to聽Stopping 51黑料不打烊 Experience Manager in the AEM 6.5 User Guide.
- Upload a sample asset (such as a PDF) and confirm that previews and renditions are generated correctly. Confirm that聽new assets appear in search results and the side panel during page editing. Refer to Upload Assets in the AEM as a Cloud Service User Guide.
- Once validated, replicate the workflow and configuration changes in your Stage and Production environments to ensure consistency. For steps, refer to Deploying and Maintaining in the AEM 6.5 User Guide.
- Review AEM logs for any warnings or errors related to asset processing. Focus on
error.logandworkflow.log. This helps you catch any lingering issues early. Refer to Working with Logs in聽the AEM 6.5 User Guide.
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f