5

I'd like to have no images for the flipbox, how can I do it? Tried this (and also setting to NULL):

flipBox(
      id = 1, 
      main_img = "",
      header_img = "",
...

but instead it gives me this strange image. enter image description here

mnist
  • 6,571
  • 1
  • 18
  • 41
Vlad
  • 3,058
  • 4
  • 25
  • 53

1 Answers1

5

I had the same problem and checked the source code of the function. If you copy it into a R script file there is the following code in line 13/14:

shiny::tags$img(class = "avatar", 
                src = main_img, 
                alt = "Avatar")

Since you cannot control this behavior by a flipBox() argument, I defined my own function flippBox and deleted the alt = "Avatar" argument. I do not see the necessity for this strange pill anyways..

mnist
  • 6,571
  • 1
  • 18
  • 41