rintimg is an R wrapper of the intense-images JavaScript library. Using rintimg you can view an image in full screen by clicking on it. The package works on Rmd documents and Shiny applications. It’s extremely simple to implement: you only need to run one function : img_intensify().
By default img_intensify() intensifies all the images available within a document nevertheless you can focus on a set of images using a class attribute.
Below I’ve used the class name intensify to target the first two images (from the top):
<center>
<img src = "https://www.r-project.org/logo/Rlogo.png" width = "100px" height = "100px" class = "intensify">
<img src = "https://static-resources.imageservice.cloud/4113852/fileprokaryote-cell-diagramsvg-wikipedia.png" width = "100px" height = "100px" class = "intensify">
<img src = "https://images.unsplash.com/photo-1501438400798-b40ff50396c8?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=750&q=80" width = "100px" height = "100px">
</center>
library(rintimg)
img_intensify(target = ".intensify")

