Tried to use this code in order to apply a grayscale filter to the background image of my R ShinyApp:
ui <- fluidPage(
tags$style("body {background: url(http://www.katamon.co.il/pics/2014-15/game19Herzeliya/ARL_1787.jpg) no-repeat center center fixed;
background-size: cover;
filter:grayscale(100%);}"),
headerPanel(fluidRow(column(5,tags$h1(tags$strong("Injury Prevention Data Analysis"),
style = "font family:Lobster,cursive;
color:white;background-color:black;
text-align:center;")))),
fluidRow(
column(3,offset = 9,
tags$img(src = "http://www.katamon.co.il/images/logo2015T.png",
height = 200,width = 230, align = "right"))),
What happens is that it filters the second image only.
Any body knows why?