This is a function that generates the html to display a static figure and the captions for that figure. Glossary tooltips are not created here, as that occurs at a later stage of the html production process.

render_figure(figure_id, figure_img)

Arguments

figure_id

The id of the figure.

figure_img

The path of the figure image.

Value

The output is a string containing the html tags to display the figure and figure caption.

Examples

if (FALSE) { render_figure("Figure App.C.4.4.", "../img/cinms_cr/App.C.4.4.Leeworthy_landings.jpg") }