mai 19, 20227:59 AM - editado mai 19, 20227:59 AM
Membro
Search Result Page Feature Images missing in Clone Module
resolver
I have cloned Search Result Module of my Blog site to customize it but The clone module doesn't show any feature Image. when i enable the default Search Result Featured images are showing perfectly, but when i use the clone version the Feature Images aren't displaying. Please see the Screenshot:
Search Result Page Feature Images missing in Clone Module
resolver
Hi @Sohail1, sorry for my late reply, I was on vacations and didn't see @dennisedson's mention.
Checking your code, seems like the issue might be on the Javascript part since there is where you add the image src atribute. In this case I would recommend you debugging your code, maybe try to print using console.log the values of some variables like featuredImage in order to see where the code is not working as it should.
abr 13, 20236:46 AM - editado abr 13, 20237:03 AM
Membro
Search Result Page Feature Images missing in Clone Module
resolver
Hi!
Same issue. Featured image not showing up in the blog results.
I have cloned the search_results module, turned the display featured image module ON, relinked the new search_restults module in the result listings template and it's still not showing up.
All that is showing up in the webpage inspect is and emply DIV: div class="hs-search-results__featured-image"></div>
Should it paste some .src featured-image into the div?
Search Result Page Feature Images missing in Clone Module
resolver
Hi @Sohail1, sorry for my late reply, I was on vacations and didn't see @dennisedson's mention.
Checking your code, seems like the issue might be on the Javascript part since there is where you add the image src atribute. In this case I would recommend you debugging your code, maybe try to print using console.log the values of some variables like featuredImage in order to see where the code is not working as it should.