imageOutput
imageOutput(outputId, width = "100%", height = "400px")
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 |
Create a image output element
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="span8"> <div id="dataImage" class="shiny-image-output" style="width: 100% ; height: 400px"></div> </div>