Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resize Embedding Image in Shiny App

Tags:

r

shiny

With reference to the answer presented here by Kay https://stackoverflow.com/a/21998722/9373320, I want to reduce the inserted image size to 50% both height and width.

mainPanel( img(src='myImage.png', align = "right"), ### the rest of your code )

Please help.

like image 724
sumanta das Avatar asked May 15 '18 11:05

sumanta das


1 Answers

Just type height and width in the image tag:

img(src="src", height="50%", width="50%", align="right")
like image 130
SeGa Avatar answered Nov 09 '22 13:11

SeGa