Coder Social home page Coder Social logo

Comments (7)

ijlyttle avatar ijlyttle commented on July 3, 2024

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.

yonicd avatar yonicd commented on July 3, 2024

from bsplus.

ijlyttle avatar ijlyttle commented on July 3, 2024

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.

yonicd avatar yonicd commented on July 3, 2024

from bsplus.

yonicd avatar yonicd commented on July 3, 2024

that worked. is there a way to turn off the grey background or set the opacity to 1 for the images?

from bsplus.

ijlyttle avatar ijlyttle commented on July 3, 2024

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.

ijlyttle avatar ijlyttle commented on July 3, 2024

Reminder to update the documentation for bs_carousel_image() with hints on how to set the path.

from bsplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.