0

I had put all my images in "www" folder while deploying the app. But even though it is unable to load the image https://tejasviohlan.shinyapps.io/student/ while it works fine locally you can look here

it is implemented tags$img(src="filename.PNG")

dead rise
  • 7
  • 1

1 Answers1

1

Don't capitalize the file extensions. Changing

tags$img(src="filename.PNG")

to

tags$img(src="filename.png")

will resolve the issue. Your operating system doesn't care, but the web protocol that serves the images does. As can be demonstrated by accessing one of the pictures from

https://tejasviohlan.shinyapps.io/student/_w_5438387b/shiny.png

but not from

https://tejasviohlan.shinyapps.io/student/_w_5438387b/shiny.PNG

mhovd
  • 3,724
  • 2
  • 21
  • 47