Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to create a slide show using PHP5

3 views
Skip to first unread message

philip

unread,
Jul 2, 2008, 4:37:40 PM7/2/08
to php-g...@lists.php.net
Hi everyone,

I want to create a slide show of photos for my web site. How is this
done using php5? I am using Opensuse 10.3, Apache, PHP5.

TIA for any assistance,

Philip

--
Philip Ramsey
learning PHP and MySQL for building a better world
philipramsey.is-a-geek.net

Bastien Koert

unread,
Jul 2, 2008, 4:46:11 PM7/2/08
to philip, php-g...@lists.php.net

> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
2 parts to this

1. pull a series on [random] images from the system to show the user
2. client side javascript code to load the images in a slide show fashion

You may want to get an existing one and pull it apart to see how they've
done it

--

Bastien

Cat, the other other white meat

Bastien Koert

unread,
Jul 2, 2008, 5:06:59 PM7/2/08
to philip, php-g...@lists.php.net
On Wed, Jul 2, 2008 at 5:02 PM, philip <spy.c.x...@gmail.com> wrote:

> Bastien Koert wrote:
>
>>
>>
>> On Wed, Jul 2, 2008 at 4:37 PM, philip <spy_c_x...@rogers.com<mailto:


>> spy_c_x...@rogers.com>> wrote:
>>
>> Hi everyone,
>>
>> I want to create a slide show of photos for my web site. How is
>> this done using php5? I am using Opensuse 10.3, Apache, PHP5.
>>
>> TIA for any assistance,
>>
>> Philip
>>
>> -- Philip Ramsey
>> learning PHP and MySQL for building a better world

>> philipramsey.is-a-geek.net <http://philipramsey.is-a-geek.net>


>>
>> -- PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>> 2 parts to this
>>
>> 1. pull a series on [random] images from the system to show the user
>> 2. client side javascript code to load the images in a slide show fashion
>>
>> You may want to get an existing one and pull it apart to see how they've
>> done it
>>
>> --
>>
>> Bastien
>>
>> Cat, the other other white meat
>>

> Hi Bastien,
>
> Thank you for your quick response. Where may I find sample? I tried
> searching the web but only found samples and tutorials that required flash
> for the actual slide show. Since I run Linux and Adobe/Macromedia do not
> make a flash editor for Linux, flash is not an option.
>
> TIA,
>
> Philip
>

google php slide show

Did you mean: php
*slideshow*<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=php+slideshow&spell=1>

zinkwazi.com » *PHPSlideShow* <http://www.zinkwazi.com/wp/scripts/>Feb 2006:
*phpslideshow* v0.9.6 now supports JavaScript image preloading! *...* *
PHPSlideShow* is the easiest way to create a web based *slide show* from a *
...*
www.zinkwazi.com/wp/scripts/ - 31k -
Cached<http://209.85.215.104/search?q=cache:DcvWtM61AHMJ:www.zinkwazi.com/wp/scripts/+php+slide+show&hl=en&ct=clnk&cd=1&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:www.zinkwazi.com/wp/scripts/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>
*PHP*/SWF *Slideshow* > Introduction <http://www.maani.us/slideshow/>A
simple, yet powerful *PHP* tool to create attractive web slideshows from
dynamic image files and data.
www.maani.us/*slideshow*/ - 8k -
Cached<http://209.85.215.104/search?q=cache:yeRSCKkwIPIJ:www.maani.us/slideshow/+php+slide+show&hl=en&ct=clnk&cd=2&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:www.maani.us/slideshow/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>
*PHP*/SWF *Slideshow* >
Tutorial<http://www.maani.us/slideshow/index.php?menu=Tutorial>If
*slideshow*.*php*, *slideshow*.swf, or sample.*php* aren't in the same
directory as *...* The path for *slideshow*.*php* must be relative to
prevent the server from *...*
www.maani.us/*slideshow*/index.*php*?menu=Tutorial - 11k -
Cached<http://209.85.215.104/search?q=cache:-8Cc5WfMh_YJ:www.maani.us/slideshow/index.php%3Fmenu%3DTutorial+php+slide+show&hl=en&ct=clnk&cd=3&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:www.maani.us/slideshow/index.php?menu=Tutorial>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>
More results from www.maani.us
»<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=+site:www.maani.us+php+slide+show>
freshmeat.net: Project details for *PHP
Slideshow*<http://freshmeat.net/projects/phpslideshow/>
*PHPSlideShow* is a little script that creates a web based *slide show* with
NEXT and BACK buttons to *...* http://www.zinkwazi.com/scripts/*phpslideshow
*.tar.gz *...*
freshmeat.net/projects/*php**slideshow*/ - 22k -
Cached<http://209.85.215.104/search?q=cache:Jwv60x96TXcJ:freshmeat.net/projects/phpslideshow/+php+slide+show&hl=en&ct=clnk&cd=4&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:freshmeat.net/projects/phpslideshow/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>
The *PHP* Resource Index: Complete Scripts: Images and Graphs: *Slide*
*...*<http://php.resourceindex.com/Complete_Scripts/Images_and_Graphs/Slide_Shows/>Version:
1 - Released: 08/10/07 - Free - Requirement(s): *PHP* 4/5, Jump to URL. A
customizable script which creates a user-navigated *slide show* from any *
...*
*php*.resourceindex.com/Complete_Scripts/Images_and_Graphs/*Slide*_*Show*s/
- 28k - Cached<http://209.85.215.104/search?q=cache:i3J3EI2dQrQJ:php.resourceindex.com/Complete_Scripts/Images_and_Graphs/Slide_Shows/+php+slide+show&hl=en&ct=clnk&cd=5&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:php.resourceindex.com/Complete_Scripts/Images_and_Graphs/Slide_Shows/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>
Web Photo Gallery Software, *PHP* Photo Gallery Script, Web Site
*...*<http://www.gallarific.com/demo.php>Gallarific
- Web Photo Gallery Software Written in *PHP*. The World's Most Popular
Photo Gallery for Web Sites TM. Home Page · Video Tour · Customization *...*
www.gallarific.com/demo.*php* - 10k -
Cached<http://209.85.215.104/search?q=cache:WMbNkA745MIJ:www.gallarific.com/demo.php+php+slide+show&hl=en&ct=clnk&cd=6&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:www.gallarific.com/demo.php>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>
*Slide Show* <http://www.codewalkers.com/c/a/Miscellaneous-Code/Slide-Show/>
*slideshow*.*php* // This program will *show* pictures in a folder as a *slide
show*. The pictures need to be // similarly named with a number which
distinguishes *...*
www.codewalkers.com/c/a/Miscellaneous-Code/*Slide*-*Show*/ - 73k -
Cached<http://209.85.215.104/search?q=cache:b9NVhyBKJP4J:www.codewalkers.com/c/a/Miscellaneous-Code/Slide-Show/+php+slide+show&hl=en&ct=clnk&cd=7&gl=ca&client=firefox-a>-
Similar
pages<http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=qc9&q=related:www.codewalkers.com/c/a/Miscellaneous-Code/Slide-Show/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#>

Haluk AKIN

unread,
Jul 2, 2008, 5:36:48 PM7/2/08
to philip, php-g...@lists.php.net
Hi,

If you are fine with using flash you could use some ready solution like
this:

http://www.entheosweb.com/Flash/Photo_Gallery4/index.asp

For ready solutions like this you won't need a flash editor.

Haluk

google php slide show

how/+php+slide+show&hl=en&ct=clnk&cd=2&gl=ca&client=firefox-a>-

US:official&hs=qc9&q=related:www.maani.us/slideshow/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls
=org.mozilla:en-US:official&client=firefox-a#>
*PHP*/SWF *Slideshow* >
Tutorial<http://www.maani.us/slideshow/index.php?menu=Tutorial>If
*slideshow*.*php*, *slideshow*.swf, or sample.*php* aren't in the same
directory as *...* The path for *slideshow*.*php* must be relative to
prevent the server from *...*
www.maani.us/*slideshow*/index.*php*?menu=Tutorial - 11k -
Cached<http://209.85.215.104/search?q=cache:-8Cc5WfMh_YJ:www.maani.us/slides
how/index.php%3Fmenu%3DTutorial+php+slide+show&hl=en&ct=clnk&cd=3&gl=ca&clie

US:official&hs=qc9&q=related:www.maani.us/slideshow/index.php?menu=Tutorial>
-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls
=org.mozilla:en-US:official&client=firefox-a#>
More results from www.maani.us
><http://www.google.ca/search?hl=en&client=firefox-a&rls=org.mozilla:en-US:o
fficial&hs=qc9&q=+site:www.maani.us+php+slide+show>
freshmeat.net: Project details for *PHP
Slideshow*<http://freshmeat.net/projects/phpslideshow/>
*PHPSlideShow* is a little script that creates a web based *slide show* with
NEXT and BACK buttons to *...* http://www.zinkwazi.com/scripts/*phpslideshow
*.tar.gz *...*
freshmeat.net/projects/*php**slideshow*/ - 22k -
Cached<http://209.85.215.104/search?q=cache:Jwv60x96TXcJ:freshmeat.net/proje

cts/phpslideshow/+php+slide+show&hl=en&ct=clnk&cd=4&gl=ca&client=firefox-a>-

US:official&hs=qc9&q=related:freshmeat.net/projects/phpslideshow/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls
=org.mozilla:en-US:official&client=firefox-a#>
The *PHP* Resource Index: Complete Scripts: Images and Graphs: *Slide*
*...*<http://php.resourceindex.com/Complete_Scripts/Images_and_Graphs/Slide_
Shows/>Version:
1 - Released: 08/10/07 - Free - Requirement(s): *PHP* 4/5, Jump to URL. A
customizable script which creates a user-navigated *slide show* from any *
...*
*php*.resourceindex.com/Complete_Scripts/Images_and_Graphs/*Slide*_*Show*s/
- 28k -
Cached<http://209.85.215.104/search?q=cache:i3J3EI2dQrQJ:php.resourceindex.c
om/Complete_Scripts/Images_and_Graphs/Slide_Shows/+php+slide+show&hl=en&ct=c

lnk&cd=5&gl=ca&client=firefox-a>-

US:official&hs=qc9&q=related:php.resourceindex.com/Complete_Scripts/Images_a
nd_Graphs/Slide_Shows/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls


=org.mozilla:en-US:official&client=firefox-a#>
Web Photo Gallery Software, *PHP* Photo Gallery Script, Web Site
*...*<http://www.gallarific.com/demo.php>Gallarific
- Web Photo Gallery Software Written in *PHP*. The World's Most Popular

Photo Gallery for Web Sites TM. Home Page . Video Tour . Customization *...*

demo.php+php+slide+show&hl=en&ct=clnk&cd=6&gl=ca&client=firefox-a>-

US:official&hs=qc9&q=related:www.gallarific.com/demo.php>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls
=org.mozilla:en-US:official&client=firefox-a#>
*Slide Show* <http://www.codewalkers.com/c/a/Miscellaneous-Code/Slide-Show/>
*slideshow*.*php* // This program will *show* pictures in a folder as a
*slide show*. The pictures need to be // similarly named with a number which
distinguishes *...*
www.codewalkers.com/c/a/Miscellaneous-Code/*Slide*-*Show*/ - 73k -
Cached<http://209.85.215.104/search?q=cache:b9NVhyBKJP4J:www.codewalkers.com
/c/a/Miscellaneous-Code/Slide-Show/+php+slide+show&hl=en&ct=clnk&cd=7&gl=ca&

US:official&hs=qc9&q=related:www.codewalkers.com/c/a/Miscellaneous-Code/Slid
e-Show/>-
Note
this<http://www.google.ca/search?q=php+slide+show&ie=utf-8&oe=utf-8&aq=t&rls

tedd

unread,
Jul 2, 2008, 6:14:45 PM7/2/08
to php-g...@lists.php.net
At 4:37 PM -0400 7/2/08, philip wrote:
>Hi everyone,
>
>I want to create a slide show of photos for my web site. How is this
>done using php5? I am using Opensuse 10.3, Apache, PHP5.
>
>TIA for any assistance,
>
>Philip

Philip:

With a combination of php, html, and javascript, you can get this:

http://webbytedd.com/c/fade-cycle/

The javascript is there.

Cheers,

tedd

--
-------
http://sperling.com http://ancientstones.com http://earthstones.com

Børge Holen

unread,
Jul 2, 2008, 6:38:39 PM7/2/08
to php-g...@lists.php.net
On Thursday 03 July 2008 00:14:45 tedd wrote:
> At 4:37 PM -0400 7/2/08, philip wrote:
> >Hi everyone,
> >
> >I want to create a slide show of photos for my web site. How is this
> >done using php5? I am using Opensuse 10.3, Apache, PHP5.
> >
> >TIA for any assistance,
> >
> >Philip
>
> Philip:
>
> With a combination of php, html, and javascript, you can get this:
>
> http://webbytedd.com/c/fade-cycle/
>
> The javascript is there.
>
> Cheers,
>
> tedd

thats a NICE as in _NICE_ slideshow, best I've seen in... hell best I've seen
ever.

--
---
Børge Holen
http://www.arivene.net

philip

unread,
Jul 2, 2008, 5:02:40 PM7/2/08
to Bastien Koert, php-g...@lists.php.net
Bastien Koert wrote:
>
>
> On Wed, Jul 2, 2008 at 4:37 PM, philip <spy_c_x...@rogers.com
> <mailto:spy_c_x...@rogers.com>> wrote:
>
> Hi everyone,
>
> I want to create a slide show of photos for my web site. How is
> this done using php5? I am using Opensuse 10.3, Apache, PHP5.
>
> TIA for any assistance,
>
> Philip
>
> --
> Philip Ramsey
> learning PHP and MySQL for building a better world
> philipramsey.is-a-geek.net <http://philipramsey.is-a-geek.net>

>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> 2 parts to this
>
> 1. pull a series on [random] images from the system to show the user
> 2. client side javascript code to load the images in a slide show fashion
>
> You may want to get an existing one and pull it apart to see how
> they've done it
>
> --
>
> Bastien
>
> Cat, the other other white meat

Michael Kubler

unread,
Jul 2, 2008, 11:50:23 PM7/2/08
to philip, php-g...@lists.php.net
You could look into something like PicLens lite.
http://piclens.com/lite/webmasterguide.php

It's more of an image viewer than slideshow. But the FFox plugin works
great with Flickr, youtube, etc..
Basically you create a media RSS feed of the photos or video.
There's two flavours.
PicsLens is the plugin for browsers, while PicLens lite uses javascript
and lets people who don't have the browser plugin view the photos.

<http://piclens.com/lite/webmasterguide.php>

Michael Kubler
*G*rey *P*hoenix *P*roductions <http://www.greyphoenix.biz>

Peter Ford

unread,
Jul 8, 2008, 9:25:55 AM7/8/08
to php-g...@lists.php.net
tedd wrote:
> At 4:37 PM -0400 7/2/08, philip wrote:
>> Hi everyone,
>>
>> I want to create a slide show of photos for my web site. How is this
>> done using php5? I am using Opensuse 10.3, Apache, PHP5.
>>
>> TIA for any assistance,
>>
>> Philip
>
> Philip:
>
> With a combination of php, html, and javascript, you can get this:
>
> http://webbytedd.com/c/fade-cycle/
>
> The javascript is there.
>
> Cheers,
>
> tedd
>

Oh! For a moment I thought tedd had let me down - it didn't quite work properly:
the faded-out image flashed up again before being replaced by the new image. So
I looked at the code and realised that the new image was a background image,
which was being copied up to the foreground... and I had caching disabled (I was
on my development system and hacking some annoying IE/JS problems) so the
copying-up was forcing a reload from source...

Not broken after all.

Faith restored.

All is well.

--
Peter Ford phone: 01580 893333
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent

0 new messages