Solved

picture slide show from folder

Posted on 2014-12-17
7
119 Views
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.

 thanks
0
Comment
Question by:paddy086
  • 4
  • 2
7 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
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?
0
 

Author Comment

by:paddy086
Comment Utility
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.
0
 

Author Comment

by:paddy086
Comment Utility
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
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
Comment Utility
You have a few options like:
https://gist.github.com/aslan144/2047603

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

http://www.justinwhall.com/directory-jquery-slider/
0
 

Author Comment

by:paddy086
Comment Utility
Thanks Gary
I will install xampp and give it a go I'm just going leave this post open for a day or 2
0
 

Author Closing Comment

by:paddy086
Comment Utility
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 http://www.ampedwebstandards.com/2009/03/16/tutorial-dynamic-image-slideshow-with-php-jquery/

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

thanks
0
 
LVL 58

Expert Comment

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

http://bxslider.com/examples/video
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now