imageOutput

imageOutput(outputId, width = "100%", height = "400px", inline = FALSE)

Arguments

outputId output variable to read the image from
width Image width. Must be a valid CSS unit (like "100%", "400px", "auto") or a number, which will be coerced to a string and have "px" appended.
height Image height
inline use an inline (span()) or block container (div()) for the output

Value

An image output element that can be included in a panel

Description

Render a renderImage within an application page.

Examples

# Show an image mainPanel( imageOutput("dataImage") )
<div class="col-sm-8"> <div id="dataImage" class="shiny-image-output" style="width: 100% ; height: 400px"></div> </div>