Hi, I have a div with a background image, I want to convert this image into a link, but I’m not getting it, I put the code:
<div class="circulo" style="background-image: url('<?= $imagenRuta; ?>');">
<?= $this->Html->link('$this->Html->image('.$imagenRuta.')', '/Personas/ficha/'.$nombrecompleto.'/'.$persona_id, ['class' => 'perfil','id' => 'perfil']); ?>
</div>