<img src=imagens/p.png width=<?php echo $fino?> height=<?php echo $altura?> border=0>
There’s a layout which was made by another developer of my team, and I need to implement it on cake php, but all images are made with img src html tag, I’ve seen on the docs that it should be done with $this->html , when I do that, I get a error Using $this when not in object context
and plus it would be alot of effort, transforming every img src into $this->Html->image
Also, if it is to be done with $this->Html->image, I dont know how to pass the attribute border=0.
my folder imagens is on webroots folder
I saw my mistake right now, $this->Html->image is inside a function, how I can solve this?