mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-02-05 02:48:40 +00:00
impl. lazy loading and better media lists
This commit is contained in:
parent
f8d293b5cd
commit
a55faf5e43
|
|
@ -12,6 +12,8 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
use phpOMS\Uri\UriFactory;
|
||||
|
||||
/**
|
||||
* @todo Orange-Management/Modules#73
|
||||
* Profile pics
|
||||
|
|
@ -32,7 +34,7 @@ echo $this->getData('nav')->render();
|
|||
<?= $this->printHtml($question->getQuestion()); ?>
|
||||
</div>
|
||||
<div class="inner">
|
||||
<img alt="<?= $this->getHtml('AccountImage', '0', '0'); ?>" data-lazyload="<?= UriFactory::build('{/prefix}' . $question->getCreatedBy()->getImage()->getPath()); ?>">
|
||||
<img alt="<?= $this->getHtml('AccountImage', '0', '0'); ?>" loading="lazy" src="<?= UriFactory::build('{/prefix}' . $question->getCreatedBy()->getImage()->getPath()); ?>">
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
|
@ -48,4 +50,4 @@ echo $this->getData('nav')->render();
|
|||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user