Questions tagged [slickr]

slick carousel htmlwidget for R

GitHub: https://github.com/yonicd/slickR

Vignettes: https://cran.r-project.org/web/packages/slickR/vignettes/

20 questions
3
votes
2 answers

Dynamic Image Carousel R Shiny

I would like to dynamically add a carousel of images within a shiny dashboard based on a filtered list. I have tried the shinydashboardPlus package as well as the slickR package but can't seem to get either of them to work. Tried my best to…
Melissa Salazar
  • 517
  • 5
  • 16
3
votes
3 answers

Move previous next buttons in R's slickR carousel

I can successfully move the "next" button for slickR's carousel. However, when I use the similar method to move the "previous" button it does not work. The action and the mouseover no longer work. Why is this? How can I move the "prev" button and…
ixodid
  • 2,180
  • 1
  • 19
  • 46
3
votes
4 answers

Get the current image name of a slickR slideshow in shiny

Below is a shiny app which displays a slideshow of images with the slickR package. How to get the name of the current image? library(shiny) library(slickR) ui <- fluidPage( tags$div( slickROutput("slickr", width="500px"), style =…
Stéphane Laurent
  • 75,186
  • 15
  • 119
  • 225
2
votes
1 answer

Make slickR carousel responsive

Here is a link to a two slide slickR carousel that works well on a desktop but when viewed on an iphone, the image is cut off. ie it is not responsive. How do I use slickR's carousel with images and have it work on both desktop and mobile without…
ixodid
  • 2,180
  • 1
  • 19
  • 46
2
votes
2 answers

SlickR Shiny R dynamically convert dots to images when filtering the carousel obj by user input

Have been working through this slickR problem for a while. I would greatly appreciate any input or fresh perspectives on how to resolve this issue or different ways to approach a solution. There are two issues I've been working through: The first I…
max
  • 23
  • 3
2
votes
1 answer

R shiny: slickROutput disappears when switching tabpanel()

I am making a Shiny app with tabPanels embedded in a navbarPage. In each tabPanel, I generate a serie of image. When switching from one panel to the other one, the image loaded in one of them disappear. I have to "refresh" manually the page to see…
P. Denelle
  • 790
  • 10
  • 24
2
votes
1 answer

How to use multiple slickROutput in shiny dashboard

I am trying to create a webpage where I have to show multiple slideshows. I found a way of using slickR package in R to display slideshow but i am unable to show multiple. Here is the code where I am trying to render two slickR, I dont know what i…
1
vote
2 answers

Resetting autoplay SlickR carousel to the beginning

I have a SlickR carousel in a Navbar Shiny UI that lops through several slides with autoplay. I would like to reset it to start again at the beginning after switching tabs (and returning to the tab with the carousel). At the moment, it seems that…
DanB
  • 163
  • 5
1
vote
1 answer

Shiny slickR, don't advance slide if input is empty

I have a shiny app where I have a slick slideshow and inputs that are associated with each image. The user will put in their name and then guess the age of each person in the photo. Every time the user advances the slide with the arrow the inputs…
Mike
  • 3,797
  • 1
  • 11
  • 30
1
vote
1 answer

Shiny Slick R carousel with internal links to tab panels

I would like to create a shiny navbarPage dashboard that has a slickR carousel of images on the landing page. Each image should have an action button superimposed that links to a different tabPanel. It should basically look like this: Screenshot of…
DanB
  • 163
  • 5
1
vote
1 answer

Fix size on Slick R carousel's images in ShinyApp

I have a shinyApp with slickR carousel that show different images. Those images come in various sizes. The large ones kind of break the overall appearance. Is there a way to fix the slickR container size and make the images adapt to that size? Any…
David Jorquera
  • 2,046
  • 12
  • 35
1
vote
1 answer

R slickR package replace dosts with custom text

I have found cool carousel package for R https://cran.r-project.org/web/packages/slickR/vignettes/basics.html following code will create carousel where dots are replaced by numbers cP1 <- htmlwidgets::JS("function(slick,index) { …
prdel99
  • 159
  • 6
1
vote
1 answer

adding alt text tags to slickR carousel in R

Colleagues and I are building a website in R-Markdown (basic, not blogdown, distillR, etc.) and have a couple slide carousels created using the slickR package. The code looks like: library(slickR) images <- c("Slide1.JPG", "Slide2.JPG",…
1
vote
1 answer

R Shiny: Relative size of images with slickR

Using a Shiny app, I would like to implement a slider with slickR to switch from one image to the other. I managed to implement the slider but I'm having trouble in displaying the images correctly because of their different sizes. In the following…
P. Denelle
  • 790
  • 10
  • 24
1
vote
1 answer

Create a carousel in Rmarkdown?

Is there any quick and easy way to create a simple carousel in an Rmarkdown doc? What I know so far I found slickr but run into errors setting options and knitting (the errors could be specific to me / mac - I am not sure at this point). I believe…
stevec
  • 41,291
  • 27
  • 223
  • 311
1
2