Slideshow_Flash plugin for Zenphoto
Introduction
Slideshow_flash is a Flash-based plugin for the zenphoto web
photo gallery application. It provides a simple-to-use slideshow which scales the images to the full
browser window or to full screen with high quality scaling.
Features
- High-quality full screen mode.
- Optionally shows captions.
- Uses configurable resolution for the photo source to control quality vs. bandwidth.
Limitations
- Currently does not support search-based albums.
- Only supports photos, not videos or audio at this time.
- Requires flash (full-screen is not possible without it at this time, as far as I can determine).
Discussion for this plugin
Downloads
Installation instructions
These installation instructions assume you have zenphoto installed in the folder "zenphoto",
adjust the paths as necessary if you have it installed elsewhere.
Versions 1.2.0 and newer on Zenphoto v1.2.7 and newer:
- Place the contents of the plugin folder in /zenphoto/plugins/
- Add the file slideshow_flash.php from the theme folder to your current
theme in /zenphoto/themes/{theme}/.
- Update your image and album theme files to include the following code
to link to the slideshow:
<?php if (function_exists('printSlideShowFlashLink') && isImagePage()) { ?>
<p><?php printSlideShowFlashLink(gettext('View Slideshow')); ?></p>
<?php } ?>
- Enable the plugin through the normal zenphoto administration screeens (plugins).
- Set the options through the normal zenphoto administration screens (options -> plugins).
Done!
Versions 1.1.4 and older on Zenphoto older than v1.2.7:
- Place the contents of the plugin folder in /zenphoto/zp-core/plugins/
- Add the file slideshow_flash.php from the theme folder to your current
theme in /zenphoto/themes/{theme}/.
- Update your image and album theme files to include the following code
to link to the slideshow:
<?php if (function_exists('printSlideShowFlashLink') && isImagePage()) { ?>
<p><?php printSlideShowFlashLink(gettext('View Slideshow')); ?></p>
<?php } ?>
- Enable the plugin through the normal zenphoto administration screeens (plugins).
- Set the options through the normal zenphoto administration screens (options -> plugins).
Done!
Change Log
Version 1.2.2 (Zenphoto v1.2.7 and later compatible)
Download Version 1.2.2 | Source
- Now compatible with Zenphoto's new plugin structure (Zenphoto 1.2.7 and newer).
- Will not work with older versions of Zenphoto - use v1.1.4 below for older installs.
- No changes in features.
Version 1.1.4
Download Version 1.1.4 | Source
- Added X button to slideshow which exits the slideshow and returns to the referring album/photo.
- Fixed typo in name for one of the default configuration keys.
Version 1.1.3
Download Version 1.1.3 | Source
- Changed plugin code to use the global current album variable rather than parsing the URL, fixing bug whereby ampersands in the album title caused the slideshow to fail.
Version 1.1.2
Download Version 1.1.2 | Source
- Refactored code in slideshow_flash.php somewhat to remove dynamic stuff that didn't work, and correctly use the object model.
- Added a strip_tags when retrieving the descriptions for the images, in case HTML tags are present in the descriptions.
Version 1.1.1
Download Version 1.1.1 | Source
- Minor bugfix in slideshow_flash.php plugin file, fixes null reference when slideStartInd not set.
Version 1.1
Download Version 1.1 | Source
- When you select "View Slideshow" from an image page, the slideshow now starts from that image instead of the first image in the album.
- When you select "Next" or "Previous" the slideshow stops playing and goes into Pause mode.
- If a slide hasn't yet loaded into the cache when the next/prev button is pushed, or if the slide hasn't loaded at the time it is required to be displayed, a "Loading..." message is displayed.
- Bugfix to slideshow_flash.php whereby $slideshow_instance should have been $slideshow_instance_flash in a globals list.
Version 1.0
Download Version 1.0 | Source
Initial Release