bmtadmin Posted June 8, 2015 Report Share Posted June 8, 2015 Any solutions for displaying photos in a slideshow format using tabular, details, gallery or list report datapages? Perhaps JS? Quote Link to comment Share on other sites More sharing options...
0 MayMusic Posted January 21, 2016 Report Share Posted January 21, 2016 Refer to http://forums.caspio.com/index.php/topic/5347-how-to-create-image-slideshow-in-html/?hl=slideshow does this help? Quote Link to comment Share on other sites More sharing options...
0 yugabharathi Posted January 22, 2016 Report Share Posted January 22, 2016 I checked there MayMusic. Its helping. thanks for sharing. Quote Link to comment Share on other sites More sharing options...
0 Kurumi Posted June 29, 2021 Report Share Posted June 29, 2021 Hi - If you want to display your Images/Files in Slideshow Gallery, you can check the code here from w3schools: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_slideshow_gallery I tried this on my Details Page and it worked! I just inserted the style tag in my Header and the body code is in HTML Block. Header: <style> /* Position the image container (needed to position the left and right arrows) */ .container { position: relative; } /* Hide the images by default */ .mySlides { display: none; } /* Add a pointer when hovering over the thumbnail images */ .cursor { cursor: pointer; } /* On hover, add a black background color with a little bit see-through */ .prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); } /* Number text (1/3 etc) */ .numbertext { color: #f2f2f2; font-size: 12px; padding: 8px 12px; position: absolute; top: 0; } /* Container for image text */ .caption-container { text-align: center; background-color: #222; padding: 2px 16px; color: white; } .row:after { content: ""; display: table; clear: both; } /* Six columns side by side */ .column { float: left; width: 16.66%; } /* Add a transparency effect for thumnbail images */ .demo { opacity: 0.6; } .active, .demo:hover { opacity: 1; } </style> HTML Block: <div class="container"> <div class="mySlides"> <div class="numbertext">1 / 3</div> <img src="[@field:Image_1/]" style="width:100%"> </div> <div class="mySlides"> <div class="numbertext">2 / 3</div> <img src="[@field:Image_2/]" style="width:100%"> </div> <div class="mySlides"> <div class="numbertext">3 / 3</div> <img src="[@field:Image_3/]" style="width:100%"> </div> <div class="row"> <div class="column"> <img class="demo cursor" src="[@field:Image_1/]" style="width:100%" onclick="currentSlide(1)"> </div> <div class="column"> <img class="demo cursor" src="[@field:Image_2/]" style="width:100%" onclick="currentSlide(2)"> </div> <div class="column"> <img class="demo cursor" src="[@field:Image_3/]" style="width:100%" onclick="currentSlide(3)"> </div> </div> </div> Footer: <script> var slideIndex = 1; showSlides(slideIndex); function plusSlides(n) { showSlides(slideIndex += n); } function currentSlide(n) { showSlides(slideIndex = n); } function showSlides(n) { var i; var slides = document.getElementsByClassName("mySlides"); var dots = document.getElementsByClassName("demo"); if (n > slides.length) {slideIndex = 1} if (n < 1) {slideIndex = slides.length} for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } for (i = 0; i < dots.length; i++) { dots[i].className = dots[i].className.replace(" active", ""); } slides[slideIndex-1].style.display = "block"; dots[slideIndex-1].className += " active"; } </script> Result: You can now select and show different photos in your DataPage. I hope this helps! Quote Link to comment Share on other sites More sharing options...
0 Kurumi Posted May 13, 2022 Report Share Posted May 13, 2022 Hi everyone! Just wanted to share a new solution for Image Slideshows or Touch Slider if you have multiple images in your Details Page. You may try using this JS snippet of Swiper:https://swiperjs.com/get-startedhttps://swiperjs.com/demos Here's a sample result: Hope it helps! Quote Link to comment Share on other sites More sharing options...
0 Kurumi Posted August 27, 2022 Report Share Posted August 27, 2022 Hi everyone! Just wanted to share a new solution for Viewing images or Touch Sliders if you have multiple images in your Details/Report Page. You may try using this jQuery lightbox of Swipebox:http://brutaldesign.github.io/swipebox/https://github.com/brutaldesign/swipebox You can also use this to open video URL's from YouTube. Quote Link to comment Share on other sites More sharing options...
Question
bmtadmin
Any solutions for displaying photos in a slideshow format using tabular, details, gallery or list report datapages? Perhaps JS?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.