$image
variable gives this code (when echo
is used):
<img src="/image.png" width="100" height="147" alt="" class="some_class" />
width
,height
,src
andclass
attributes can be different.
What should we do:
- remove
width
andheight
from$image
- replace
alt=""
withalt="Poster"
Thanks.