MIG Change Log Version 1.4.1 (Wed, 06 Apr 2005) [Sourceforge bug report #974964] - Fixed bug in "buildDirList()" and "buildImageList()" where an array pointer was not reset after use. (Dan) Added Hungarian (hu) translation (Dan) Added Slovenian (si) translation (Dan) [Sourceforge bug report #930628] - Fixed bug with image popups (Dan) Fixed bug related to thumbnails and audio/video file types (Dan) Changed my mind about GNU GPL. Will re-release under BSD license. Version 1.4.0 (Mon, 01 Mar 2004) Fixed variable name resolution bug related to markerlabel. Patch courtesy of Mattias Ahnberg. (Dan) Updated jp (Japanese) translation to UTF-8 provided by Masaru Onozawa (Dan) Fixed Security-Bug when modifying the image-parameter in the URL. The real filesystem path is no longer shown, mig aborts (Werner) Added config.php options $prevFormatString and $nextFormatString. Now individual pics or text is possible for the "previous image" and "next image" in the image-view (Werner) Moved brackets [] from the prev-next-back to thumbnail-view - large image to templates/image.html. If you don't need large images, please edit this file, otherwise some brackets are shown, but no link... (Werner) Added config.php options $fileInfoFormatString. $suppressImageInfo is not needed any more and will be removed in Version 2.0 (Werner) Added config.php options $imagePopMaxWidth and $imagePopMaxHeight related to popup windows. Added support for "large" or full-size images. That is, in addition to thumbnails and normal images, one can specify a directory of full size images (generally speaking this would be the original images from the camera, but they could be any larger image you choose to use). They use the same filename as the normal image but live in the directory specified by $largeSubdir (by default, this is "large"). This entire feature is off by default. To turn it on, set $useLargeImages to "TRUE". Added new template tags to support large images: "largeLink", "largeHrefStart", "largeHrefEnd", "largeLinkBorder". See the templates document for more details. These four tags must be present in your image.html or mig_image.php template for large image support to function. Either copy the new image.html over your old one or use it as a guide to modify your custom template. Added new template files large.html and mig_large.php to support large images. You don't need to use these files if you aren't planning to use large image support, but if you are, copy the appropriate one to your templates directory - large.html for normal users, mig_large.php for users of PHP-Nuke, et al. Added new config.php options to support large images: $useLargeImages, $largeSubdir, $largeLinkFromMedium, $largeLinkUseBorders. See config.php for more details. Added new language tags "largeview" and "largelink" to each translation to support large images. Modified mkGallery.pl with regard to EXIF behavior. Now if "-n" and "-e" are both used, only files not already cached in exif.inf will be examined for EXIF data. This has no effect if "-w" is also used, because in that case the exif.inf file is removed before processing takes place, and the cache is therefore empty. Also changed the flags passed to jhead since the existing behavior using "-v" (verbose) made no sense. It just added extra junk to the cache file that served no useful purpose. Improved the code to find the location of jhead by adding its directory to the execution path temporarily during mkGallery.pl execution. $pathConvertFlag, $pathConvertRegex and $pathConvertTarget have moved to index.php. This is because they are used to include config.php, so obviously they can't be located inside it. Fixed bug in "getImageDescFromFile()" that was not URL-decoding filenames. Added Geeklog compatibility mode. See config.php and the portals document. Reversed the order of entries in the credits document - I always felt bad that new entries were at the bottom, since they were less likely to get read, especially as the list got longer. So now the newer entries are near the top and will be more visible (although will still sink down the list over time). I think this is more fair than the other ordering. Added support for audio and video files. This entailed two new icons: music.gif and movie.gif (found in the images folder). Added support for the following file extensions classified as "video": MOV, AVI, MPG, MPEG, WMV, MP4 Added support for the following file extensions classified as "audio": MP3, WAV, RA, RAM Fixed bug in jump tags - they should work again. Fixed bug in folder counting / image counting which ignored hidden items. Fixed bug in "getRandomThumb()" that caused random thumbnail selection to fail when not using thumbnail subdirectories. Removed stray "BR" element causing spacing problems in "getRandomThumb()". Removed requirement for there to be a config.php file - now if there is no config.php the defaults will be used instead, and Mig will not error out and exit. Added Czech language set ("cz") Added list of pages to bottom of image list (was previously only at the top). Moved most of the variables which don't change except in the main body into the $mig_config array, rather than passing as parameters to functions. Most functions no longer have enormously long parameter lists. Added a call to "stripslashes()" to get rid of the extra backslashes found in Windows SMB share paths. Optimized parts of "buildImageURL()" which were doing the same string manipulations in either result of an if/else test. Got rid of a misplaced backslash in "buildImageURL()". This may fix a bug where Mig URLs can get embedded quote marks where they don't belong. Mig can now properly handle redirection on servers running on something other than port 80. Fixed bug in handling of blocks. Fixed bug in Exif format string handling. Added feature to mkGallery.pl: options can be memorized by putting them in mkGallery.opt. See the utilities documentation. Version 1.3.8 (Fri, 25 Oct 2002) If Mig is called with no parameters, it will redirect to itself with "currDir=." appended. This makes it easier to tack on more parameters later - no need to worry about the difference between & and ?. Added "newLang" to the template parser. This makes it trivial to add links to your templates which switch between languages on the fly. See the install documentation for more details. Added $omitImageName to config.php. When "TRUE" it will cause the image name to be omitted from the path line in image views. [Sourceforge bug report #626032] - Fixed the '..' check for "currDir". At some point it had been moved down so far in the code it was no longer effective and Mig went into an endless loop when encountering '/..' in a URL. Now it will properly exit. Updated to work with PHPWebThings 0.5test7. Tested against PHP-Nuke 6.0, PostNuke 0.7.2.1_Phoenix, PHPWebSite 0.8.3, PHPWebThings 0.5test7. Renamed the phpnuke document to portals. Added integration with Xoops content management system using patches provided by Marius Scurtescu. See the portals document. Files formerly found in templates/phpnuke will now be in templates/portals. Added Chinese big5 translation (zh). Version 1.3.7 (Sat, 19 Oct 2002) Fixed some table code and default templates - Mig's default layout now passes the W3C HTML 4.01 Transitional validator. The CSS code also passes the validator. Added "mig_dl" parameter to URL parser - see the install document for more on this feature. It lets you translate Mig into any language on the fly, regardless of the setting of $mig_language. Added $folderSortType to config.php. This option, if set, will override the value of $sortType when sorting folders. Changed mkGallery.pl to strip profiles from thumbnails by default. Profiles add to the file size but are not useful in thumbnails. Testing on a few images I have around showed that old behavior would result in thumbnails averaging 16K (sometimes up to 32K) and now they are all 1.5K or 2K or so. Quite an improvement! People who for some reason want to keep using profiles in their thumbnails can go back to the old behavior by calling mkGallery.pl with the "-K" flag. Version 1.3.6 (Mon, 30 Sep 2002) Updated Danish, Italian and German translations. Added Polish ISO-8859-2 translation (pliso). Added tag to files/folders counts. Changed numeric character entities (i.e. á) to alphabetic references (i.e. á). Upgraded included jhead distribution to version 1.8. Added $ignoreDotDirectories option to config.php. [Sourceforge bug report #589652] - Fixed URL encoding bug in getRandomThumb() [Sourceforge bug report #591337] - Fixed bug in handling of and . Previously if an object was in a block, its status as a hidden item would be ignored. Objects marked as hidden are now hidden regardless of how they are sorted. Removed leading and trailing