Jump to content

catslave

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by catslave

  1. Sorry for wasting your time, I was friggin' blind : put <!--<img src='{$image->size(1600, 550, 100)->url}' alt='{$image->description}' width='1600' height ='550'>--> to <img src='{$image->size(1600, 550, 100)->url}' alt='{$image->description}' width='1600' height ='550'> and it works fine.
  2. Hi, thanks for feedback. With a HTML file on desktop carousel works fine with: <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script> The source code via PW looks like yours above. Difference: <div id='carousel-1109' ... but that's PW core stuff I guess. I call the function in a bootstrap container: <div class="container pt-5 my-5 border"> <?php echo bsRenderCarousel($page->images); ?> </div> The container appears at the expected place but he is collapsed. While mouse over I detect prev and back buttons. Thats all. Looks like a CSS issue but I can't follow it.
  3. ... but it won't work. Put the function from github-link above into my _func.php and call in home.php like this: <div class="container pt-3"> <section> <?php echo bsRenderCarousel($page->images); ?> </section> </div> With "echo" the Carousel HTML appears in the source code but not in the browser viewport, without "echo" nothing happened. My PHP knowledge is quite basic, so I have no idea how to go on. Will be thankful for help.
  4. Exactly what I'am looking for - thanks for that.
×
×
  • Create New...