picture slide show from folder

Posted on 2014-12-17
Last Modified: 2014-12-22
Hello I am looking for a simple picture slide show for my local website.

I want the pictures to auto run in a loop. I have a images folder in my root directory
that I want the slideshow to use as my picture source

I have been looking at a few samples online but only find ones that you have to input the pictures name and format into the code before it displays the image.

Question by:paddy086
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40504349
You have to do some programming to make that happen.  It also has to be done on the 'server' because HTML and javascript are not allowed to read local directories.  While you can use javascript for the slide show, you do have to type the file names into the script.

What web server and OS are you using?

Author Comment

ID: 40504443
Hi Dave
It's just a windows 7 pc.
I have just made a simple html page on the computer with a MP4 video playing
I am looking for a slide show to display what ever pictures are put into a image folder. I am not using any xampp or other server.

Author Comment

ID: 40504502
Hi Dave

As I have been researching on line some people are doing this with php.
 I can install xampp onto the computer and set it up if needed. but would still need help with the codeing of the slideshow
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

LVL 58

Accepted Solution

Gary earned 500 total points
ID: 40504770
You have a few options like:

Anything you use will require an HTTP server as plain html cannot do this unless you have a common file naming syntax like pic_1.jpg, pic_2.jpg then you could use something like this without installing a server

Author Comment

ID: 40505408
Thanks Gary
I will install xampp and give it a go I'm just going leave this post open for a day or 2

Author Closing Comment

ID: 40512539
Hi Gary

Thanks for the links I tried your suggestions and stumbled across this one. its very similar to the gist github one and works great

I don't know if you know a similar one for videos. I would also like an iframe to play any videos put into a folder

LVL 58

Expert Comment

ID: 40513299
Most of the popular jquery slideshow plugins can do video
It's just a case of which one you like the best e.g.

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question