Giter Site home page Giter Site logo

slideshow's Introduction

Slideshow Class

BLP 2022-11-30 - Updated.

Removed prototype logic. Works with php 8.1. Added more demos. Removed carousel.html as it ses prototype.js which is no longer supported.


The SlideShow PHP class gets a list of images from the local filesystem or from a remote web site.

A JavaScript class displays the images collected by the PHP class.

History

This was originally written in 2008. This version is a rewrite of that code. I have upgraded the code to use more recent inovations.

Disclaimer

I have not tried any of this with IE on any version of Windows. I don't use MS-Windows, I don't like MS-Window, and I don't have MS-Windows. I have always hated that OS for what I think are very good reasons.

I use Ubuntu Mate. I have not tested this package on any OS that has not evolved from Debian.

Install

There are three ways to install the package:

  1. Download the zip file from http://github.com/bartonlp/slideshow. Extract the files.
  2. Use 'composer' (https://getcomposer.org/download/):
  3. Go to https://github.com/bartonlp/slideshow and then click on the green Code button. Select the the Clone address provided. Then create a directory on a server (or your local computer if you are running Apache) and type git clone {the selection from above}. You now have a directory slideshow under your webpage name.

If you don't have composer do:

curl -sS https://getcomposer.org/installer | php

Or if you don't have curl:

php -r "readfile('https://getcomposer.org/installer');" | php

After composer is downloaded move the 'composer.phar' to '/usr/local/bin/composer' and make sure it is executable.

To install the SlideShow make a project directory as follows:

mkdir myproject
cd myproject
composer require bartonlp/slideshow:dev-master

The package is under the 'vendor/bartonlp/slideshow' directory. You can run the examples from there or copy them to your project root.

Extra Stuff

The are several additional directories for the project:

  • images: this has the image files for the demos.
  • kb: this has a slideshow that I got from http://www.dynamicdrive.com. It is interesting.
  • burnsimages: this has some images for the kenburns.html in the kb directory.

Examples

There are several example files:

  • photos-jquery.html
  • photos-jquery.php
  • photos.php
  • photos1.php
  • photos2.php
  • photos3.php

Configure the Examples

You may need to configure the demo files for your filesystem. At the beginning of the files there are several statements. The files are pretty well documented.

Contact me at: [email protected]

Enjoy

Copyright © 2022 Barton Phillips
http://www.bartonphillips.com
Last Modified 2022-11-30

slideshow's People

Contributors

bartonlp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.