Other topics of interest
When working with Shiny there are common tasks that can be used to customize your web applications. Some of these tasks are adding static images, HTML, and CSS. In the following sections we will briefly look into how these can be accomplished with Shiny. Finally, we will also mention some options you have to share your application with others, without having to setup your own web server, so that they can use it in their web browser, through an internet connection.
Adding static images
Images can enhance the appearance of your application and help your users understand the content. Shiny looks for the img()
function to place image files in your application. To insert an image, simply call with the src
specifying the images location. You can also include other HTML friendly parameters such as height and width (they will be passed as pixel values):
img(src = "image.png", height = 250, width = 250)
The image.png
file must be in a folder named www
in the same directory as...