mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-02-15 23:38:41 +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);
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
use phpOMS\Uri\UriFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo Orange-Management/Modules#73
|
* @todo Orange-Management/Modules#73
|
||||||
* Profile pics
|
* Profile pics
|
||||||
|
|
@ -32,7 +34,7 @@ echo $this->getData('nav')->render();
|
||||||
<?= $this->printHtml($question->getQuestion()); ?>
|
<?= $this->printHtml($question->getQuestion()); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="inner">
|
<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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user