[ticket/13163] Fix responsive link lists

PHPBB3-13163
[ticket/13163] Terminate timely when no data-last links exist

PHPBB3-13163
[ticket/13163] Check for images

PHPBB3-13163
Merge remote-tracking branch 'PayBas/ticket/13163' into develop-ascraeus

* PayBas/ticket/13163:
  [ticket/13163] Check for images
  [ticket/13163] Terminate timely when no data-last links exist
  [ticket/13163] Fix responsive link lists