tag img insede tag a

HI i want take a img tag inside a tag .

Normally i write :


<a href="film/presentazione?id=<?=$id?>"><img src="<?=$film['copertina']?>" class="imgIndex" alt="<?=$film['nome']?>"></a>



now i write to tag img :


<?= Html::img($film['copertina'],$options = ['class'=>'imgIndex','alt'=>$film['nome']]) ?>

            <?php 

How i take this tag inside a html::a tag?

Code will look like:


Html:a(

    Html::img($film['copertina'], ['class'=>'imgIndex','alt'=>$film['nome']]),

    ['film/presentazione', 'id' => $id]

)