Adaptive Media Images Not Displaying for Users in Product Catalog Search Results

Issue

  • When using Adaptive Media with images in Product Catalog search results, the images are displayed correctly for some users, but not others.
    • For example, Adaptive Media is not working for unauthenticated (guest) users but is rendering correctly for authenticated users.

Environment

  • Liferay DXP 2024.Q2.12
  • Product Catalog

Resolution

  • Adaptive Media requires the Download permission to be enabled for users on the images used in the search results. Using the example above, Guest users must have Download permission enabled for adaptive media to be used when viewing the page. 
  • To enable this permission, navigate to the Documents and Media library, select the image/folder, go to the Permissions tab, and check the Download permission for the appropriate role.

Additional Information

  • Note: The above resolution is for content pages. In a widget page, it is expected behavior that adaptive media would not work in a product catalog search result widget.
  • Using Adapted Images in Site Content
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助