Image List Component | Community
Skip to main content
Level 2
January 12, 2024
Solved

Image List Component

  • January 12, 2024
  • 2 replies
  • 1014 views

Hi, I am using image list component and fixed search and giving the path of my subpages to list those pages as a card on the home page like wknd project home page articles are showing there so when we click on those card then it will redirect  on those page but when giving the path of the wknd then it working fine but for my case it is not working when giving the path of my  parent page, it is empty

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by EstebanBustamante

There are two things to keep in mind:

  1. The query you are using must return results. If there are no results, then an empty result is probably valid.

  2. The Image List component for the wknd site is customized to generate the "card" you are talking about. Most likely, your pages don't have all the necessary attributes to render such a customized view. You can try using the out-of-the-box "image list" component to check if your query is okay or delve into the wknd implementation to understand what might be missing in your project pages.

Hope this helps

2 replies

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
January 12, 2024

There are two things to keep in mind:

  1. The query you are using must return results. If there are no results, then an empty result is probably valid.

  2. The Image List component for the wknd site is customized to generate the "card" you are talking about. Most likely, your pages don't have all the necessary attributes to render such a customized view. You can try using the out-of-the-box "image list" component to check if your query is okay or delve into the wknd implementation to understand what might be missing in your project pages.

Hope this helps

Esteban Bustamante
Level 3
January 12, 2024

@knki verify the structure of your project and compare with wknd. Make sure it matches same set of levels and page properties. 

1. Verify the error logs, are you getting any errors?

2. Verify the page structure and page properties.

3. Look for any browser console errors.

4. Alternate case, overlay the image list component and add more logs to verify where it is failing or customize according to your project needs.

 

https://github.com/adobe/aem-guides-wknd/tree/main/ui.apps/src/main/content/jcr_root/apps/wknd/components/image-list 

https://www.sfu.ca/cms/howto/components/list/image-list.html

https://github.com/adobe/aem-core-wcm-components/issues/578

 

Thanks!