(List Section Sync) Make image clickable

To make Image clickable when you are using List Section Sync plugin, you can use this code under Plugin code in Code Injection.

<script>
window.addEventListener('DOMContentLoaded', function() {
  const sections = document.querySelectorAll('[data-list-section-sync]');
  
  sections.forEach(section => {
    if (section.WMSummaryList && section.WMSummaryList.settings) {
      section.WMSummaryList.settings.imageLink = true;
      section.WMSummaryList.mapCollectionDataToListItems();
    }
  });
});
</script>

Wm1 03 a min

Buy me a coffee