mal2html.ui.links.img.attrs
Parameters
- $node
A links element to link from.
- $thumb
A uix:thumb element.
- $width
The width to fit thumbnails into.
- $height
The height to fit thumbnails into.
This template outputs width and height attributes for the HTML img element created from $thumb, based on the uix:overflow attribute on $node. The $width and $height parameters can be computed automatically from the $node element.