Hello everybody! Much code overhaul, in alpha/beta stage so needs extensive testing. IMPORTANT: You must use the Lightbox 6.x-1.x-dev version in order to have FLV and SWF support. Only in this version of Lightbox can you set the player in the Lightbox Video settings section.
And of course, to have PDF support, you need Adobe Reader installed in your browser in addition to Lightbox 6.x-1.x-dev.
A minor note, for anybody who uses Windows XP Keywords for captions, on my XP setup, for some reason, changing the XP Keywords will delete the EXIF description. Anybody hear of a problem like this before? I'm 99% sure it's not in the module code.
New features:
- Support for FLV, SWF, MOV, ASX, WMV, and PDF. For FLV, requires an external flash player AND the 6.x-1.x-dev version of Lightbox (includes a textfield on the settings page for path to the player). The JW FLV Player is a good choice (http://www.jeroenwijering.com). Upload a JPG screenshot of the file to have its thumbnail generated from it. The EXIF data of the JPG thumbnail is also used for determining the size of the Lightbox popup.
- Folders can now have their own custom thumbnails (thus, overriding the arbitrary one assigned otherwise). Upload a JPG file of what you would like the thumbnail generated from. The EXIF description is used for a mouseover popup teaser description.
- No more need to name every folder uniquely. If folders are in different parts of the hierarchy, they can now have the same name, as the full path information is now stored in the database.
- Rewrote Rescan function to check for changes in EXIF data. No more need to clear the whole database and rescan it when only EXIF data changes.
- Handling of special characters, like umlaut. Such characters shouldn't be in the URL path, so there is an option to rename files with special characters (essentially deleting the offending characters). Otherwise, files with special characters in their names are left out.
- Support for special characters in EXIF data.
- Added section in Advanced settings page for Internal Cache's thumbnail dimensions.
Other changes:
- Changed XP Keywords to a string instead of an array. Easier to save and print this way.
- More validation code for Settings pages. Checks path for bad characters and makes sure entered numbers are positive.
- Moved breadcrumb to output code instead of setting it as Drupal breadcrumb. This way, navigation will always be shown, even in themes that do not print the regular Drupal breadcrumb.
- Imagecache preset button will no longer create duplicate presets. If "fast_gallery_thumb" or "fast_gallery_big" presets already exist, they will not be deleted or altered.
- Recoded Internal Cache's thumbnail generation.
- General cleanup code and rewriting or redundant or unnecessary code blocks.
Issues addressed:
- #327891: make a gallery of pdf documents or videos?
- #327786: Embed Fast Gallery in node?
- #308850: Movies
- #289219: Umlaute
A few screenshots attached as well as zip file. Tentatively labelled version 3.2 ...
Let me know how the tests go!
Cheers,
-nick
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | lightbox2_6x_292870.patch | 5.76 KB | ncy |
| #1 | fast_gallery_6.x-3.2.zip | 45.78 KB | ncy |
| #1 | fast_gallery_pdf.jpg | 54.55 KB | ncy |
| #1 | fast_gallery_video.jpg | 10.52 KB | ncy |
| #1 | fast_gallery_folder_teaser.jpg | 8.25 KB | ncy |
Comments
Comment #1
ncy commentedOh yea, make sure to uninstall any pre-3.1 versions first. And don't forget to Rescan the gallery.
Comment #2
ncy commentedFor those of you that don't want to use the dev version of Lightbox (i've noted one particular problem here)
#314102: Lightbox 6 Dev in Old Safari
I wrote a 6.x patch based on this:
#292870: play flv files using JW player (or any other player)
UPDATE: the first patch i posted doesn't work for subfolders and if Drupal is installed in a subdirectory (unless you specify the subdirectory in your FLV player path). updating patch attachment .... this one also includes flashvars support. w00t!
Comment #3
rapsli commentedncy you are great. But can you give a short tutorial on how to integrate the player? I'm going to comit the code to head.
Comment #4
ncy commentedthx :)
sure, quick tutorial:
Comment #5
rapsli commented-> it's on the main page. Maybe this is better suited somewhere in the documentation. Anybody willing to write some documentation? Hey guys... no programming need for this task ;)
Comment #6
rapsli commented