Hi @nitesh-chavan ,
When you upload an asset directly to the AEM Publish instance, it bypasses the normal workflow that ensures the asset is properly processed, indexed, and replicated. In AEM, the recommended approach is to upload assets to the Author instance first, where they go through various processes like rendition generation, indexing, and approval. These assets are then replicated to the Publish instance, ensuring they are fully integrated into the content pipeline and accessible on the live site.
Since the Publish instance is typically read-only, it doesn't have the mechanisms in place to generate renditions or properly handle assets like the Author instance does. As a result, the asset you uploaded might not be processed correctly, and that's likely why it's not showing up as expected in the preview.
Key Points to Consider:
- Rendition Generation: Renditions (e.g., different image sizes or formats) are only created in the Author instance, not on Publish. The asset in Publish won't have these renditions, which can affect its display.
- Replication: Normally, assets uploaded to Author are replicated to Publish, ensuring they are available for the live site and correctly linked with any content.
- Previewing Assets: The Preview functionality works best when assets are uploaded to Author and then replicated to Publish. Without this workflow, the asset might not be processed correctly for preview or display.
If you're doing this for testing or curiosity, I recommend uploading the asset to Author first and then replicating it to the Publish instance for the full preview experience.
Let me know if you need any further clarification!
Thanks
Ritesh Mittal