Page 1 of 1

[SOLVED] Slideshow into cms

Posted: Tue Nov 28, 2017 1:27 am
by Bedzeti
Hallo , its posible to use slideshow in WonderCMS with inserting new fotos in SETTINGS , FILES , SELECT FILE , UPLOAD??
I mean if its there any slideshow to use same image folder in wondercms , or to switch or change only the url source of slideshow images??
Then I can direct in wonder cms upload files and wil be automatic visible in this slideshow ....

Read All Images from a folder And display slide show...

Sorry for my bad english....

Re: Slideshow into cms

Posted: Tue Nov 28, 2017 10:35 am
by turboblack

Re: Slideshow into cms

Posted: Tue Nov 28, 2017 10:37 am
by nion
Or you use the Carousel from Bootstrap, with this Codesnipped

Code: Select all

 <h2>Carousel Example</h2>  
  <div id="myCarousel" class="carousel slide" data-ride="carousel">
    <!-- Indicators -->
    <ol class="carousel-indicators">
      <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
      <li data-target="#myCarousel" data-slide-to="1"></li>
      <li data-target="#myCarousel" data-slide-to="2"></li>
    </ol>

    <!-- Wrapper for slides -->
    <div class="carousel-inner">
      <div class="item active">
        <img src="https://placehold.it/800x600" alt="Los Angeles" style="width:100%;">
      </div>

      <div class="item">
        <img src="https://placehold.it/800x600" alt="Chicago" style="width:100%;">
      </div>
    
      <div class="item">
        <img src="https://placehold.it/800x600" alt="New york" style="width:100%;">
      </div>
    </div>

    <!-- Left and right controls -->
    <a class="left carousel-control" href="#myCarousel" data-slide="prev">
      <span class="glyphicon glyphicon-chevron-left"></span>
      <span class="sr-only">Previous</span>
    </a>
    <a class="right carousel-control" href="#myCarousel" data-slide="next">
      <span class="glyphicon glyphicon-chevron-right"></span>
      <span class="sr-only">Next</span>
    </a>
  </div>

Re: Slideshow into cms

Posted: Tue Nov 28, 2017 6:04 pm
by Bedzeti
Thak you , and now how to edit the code to change img source to show in this slideshow automaticly all files in my folder?

Read All Images from a folder And display all in this slide show

Re: Slideshow into cms

Posted: Tue Nov 28, 2017 9:10 pm
by turboblack
in my example, all the files absolutely need to be registered, in the order in which it is necessary, if you need a script with the admin panel, it will have to be found suitable, and integrated into the engine
or you need a third-party script that can read pictures from a folder, and organize them immediately relative to the appearance of the site design

but these are increasingly complex options, and we have the motto - the simplicity ;)

Show all images in a folder with PHP

Posted: Thu Nov 30, 2017 7:35 pm
by Bedzeti