Lytebox v3.22 modification by Coyaba v1.3 ----------------------------------------- based on the modifications to Lytebox v3.20 by Pavel Kuzub (http://pavel.kuzub.com/lytebox) Lytebox v3.22 available at http://www.dolem.com/lytebox/index.htm Please also check the demo page: http://www.faszination-china.com/about_imaging_lytebox.php At the moment there is no real documentation for this modification available. This text simply lists the params you may use to customize lytebox and gives some hints on the usage. Please check the java script source for further hints especially on customization. Most settings of lytebox are only available as presets in the js-file. Pavel had added the option to set some settings using the rev attribute. [exif=true] --> show exif button in lytebox display area launches file defined for this action in lytebox.js with image path as param [info]my info text[/info] --> info text which will be available for display in lytebox Entitites contained in the info text must be encoded.The following PHP code works for me: htmlentities(preg_replace("@[\n\r]@", "", nl2br($str_infoText))) As an alternative to Pavel's info "popup" I added an info overlay which displays the info text in the lower left corner of the image in an autosized box if the user hovers over an "(Info...)" link added next to the image caption. The "(Info...)" link is added automatically if an info text is availabe unless tha flag this.showInfo is set to true in lytebox.js. In case of true Pavel's version of info display will be used. I also added some new settings: [geo=true] --> show geo button in lytebox display area launches file defined for this action in lytebox.js with image path as param [noTitleInfo=true] --> as default the image caption is added to the contents of the info overlay, this option suppresses this behaviour [onLoadInfo=true] --> if this option is set the info overlay (if an info text is available) will be shown without the need to hover the info-link (in fact the info-link is hidden) Note on features using Exif data The exif and geo feature both depend on an external library for exif data handling. I am using the Exiftool Perl library available at http://www.sno.phy.queensu.ca/~phil/exiftool/ To use any of the exif features you will have to copy the Exiftool library to your server and set the path to Exiftool in exifdata.inc.php. Regards, Coyaba 2007-11-19 email: nast@gmx.de