Reputation: 330
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.
Upvotes: 11
Views: 14332
Reputation: 9809
Just type height and width in the image tag:
img(src="src", height="50%", width="50%", align="right")
Upvotes: 19