<?php foreach ($presentsList as $row): ?>
    <img src="<?= $row['img'] ?>" title="<?= $row['sender'] ?>" alt="<?= $row['sender'] ?>">
<?php endforeach; ?>