inst/shiny_app/server.R

function(input, output) {

  output$myImage <- shiny::renderImage({

    list(src = file_path,

         height = input$height_width,

         width = input$height_width
    )

  }, deleteFile = FALSE)
}
mlampros/OpenImageR documentation built on July 30, 2023, 1:17 a.m.