Yelp

(The Help System)

mal2html.ui.links.img.attrs

Output the width and height attributes for a thumbnail image.

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.