Comments (7)
When using the src
attribute, you have to be looking from the perspective of the HTML document.
Assuming that the document will be rendered to the directory that contains the knit
directory, you should be able to use:
content = bs_carousel_image(src = "knit/tblDoc.png")
Let me know if this works; I will leave this issue open as a reminder to myself to update the documentation.
from bsplus.
from bsplus.
I have not had enough coffee yet today - I did not see that this is a shiny app.
I think you have to create a www
directory, then put the knitr
directory into that.
http://stackoverflow.com/questions/19434991/adding-local-image-with-html-to-a-shiny-app
from bsplus.
from bsplus.
that worked. is there a way to turn off the grey background or set the opacity to 1 for the images?
from bsplus.
For that, you may have to consult Bootstrap: http://getbootstrap.com/javascript/#carousel, although I don't see anything there.
FWIW, the bs_carousel()
and bs_append()
functions hew closely to Bootstrap's examples.
from bsplus.
Reminder to update the documentation for bs_carousel_image()
with hints on how to set the path.
from bsplus.
Related Issues (20)
- reactive bs_modal
- Limit to number of bstooltip that will show up?
- How to create bs_modal() in a loop in rmarkdown? HOT 1
- Stop carousel autoplay using Shiny and JavaScript
- `bsplus` only works for `html_document` but not `bookdown`?
- Error in .tag_validate(tag, name = "div", class = "form-group shiny-input-container")
- Usage of bs_embed_popover inside module
- Is this package still supported? HOT 1
- Release bsplus 0.1.3
- fix pkgdown
- Compatability with rstudio/bslib bootstrap version 4 or 5? HOT 3
- Compatibility with Bootstrap 5
- bsTooltip does not allow special characters
- fix CRAN issues
- Release bsplus 0.1.4 HOT 1
- Release bsplus 0.1.4
- Different tooltip behavior with htmlOutput()/renderUI()
- Customize colors
- Allow multiple panels to be open at one time HOT 3
- bsplus Package in Quarto (RStudio): Modals Not Opening
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsplus.