History

Small changes are always in the version.txt of your download. If the changes are not important enough for a new release I will only add a build number e.g. 1.7.5 -> 1.7.4.5

1.7.5 - 04.10.2008
New: Support for round corners. See the new howto 50 for details.
New: Rekursiv private.txt. Not every folder does now need his own one anymore!
New: global_image.htm. You can create this file in the main folder of TWG. This is a global image.txt + the macro {img_full_url} which is a link to the original image!
New: Better root.txt support. Using it shows everthing like on the 1st page - thanks to Hubertus for the code
New: New skin - "round corners". Can be used for the default skin to get round corners + can be used as template if you use your own skin to get round corners. check the skin folder.
Fix: The Ajax thumbnailstrip was very slow because of a css bug in Firefox 3. Don't use border style inset in FF3. Seems to be buggy ;). I have changed the style and now it is very fast in FF3 again.
Fix: Couple of small fixes in the french language file.
Fix: Keyboard navigation for IE7 was not working because of a change in 1.7.4. Now it works fine again.
Fix: the iframe of the maximized slideshow was a little to wide in IE. I reduced the size by 50 px.
Fix: The cache generation for remote images was not supported yet. Now it is but the $resite_only_if_to_big flag is not supported if I cannot read the size of the external image.
Fix: Remote image fullscreen support was not supporting spaces in the path like the rest of the gallery - now it does.
Fix: Remote images were loading very slow in the popup because a function that does not support remote images was used. This caused the browser to wait a couple of secounds.
Fix: Key navigation code is now the same for alle browsers. I could remove the IE solution.
Fix: SERVER_NAME is not used anymore because it was not delivering the right value all the time. Now HTTP_HOST ist used - Thanks to Hubertus for the hint.
Fix: window.open in new windows was not the optimal size in IE. Now a resize is done after the opening - Thanks for Hubertus for the hint.

1.7.4.5
Fix: Warning during slideshow was thrown because the header was already sent. The charset is now set earlier and now waring is shown anymore.
Fix: the jomla random module could not be installed because of the wrong xml file. Now the one for 1.5 is included again.

1.7.4.4
New: private.txt in the main folder does now work at sub folders as well. You don't have to specify a private.txt everywhere anymore. This solution is NOT recursiv for other folders. I'm working on this!
Fix: A error during cache cleanup was shown. Now it works fine again.
Fix: In the fullscreen mode the caption was sometimes one image behind because of a timing problem. I added syncronisation at this point and now it works perfect.
Fix: Small layout enhancements in the administration.

1.7.4.3
Fix: The normal slideshow was throwing an error because the refactoring was not done there. Now it works without warnings again.

1.7.4.2
Fix: Some minor warnings are not shown in the debug file anymore and a fallback has been implemented for this cases.
Fix: The example for iframe was updated - it works now with the new lytebox as well.

1.7.4.1
Fix: The new lytebox was always starting at 30px independent of the scrolling. now it start 30px below the current viewport
Fix: Pagination was not working properly when subdirs where used (problem added in 1.7.4!). Now it's fine again.

1.7.4 - 01.07.2008 - make a normal update - or use the patch file of the download page!
New: Lytebox is now integrated! It replaces the normal liteboxbecuase it support iframes (read the updated howto) and is only 40% in size!
New: Official support for Firefox 3.0 ;). Everything was working fine ;). You need Flash 9 for a fully working thumbnails flash!
New: Custom sorting of directories is now supported. You have to use a file called config_sort.php for this! Read howto 6 for details.
Fix: Resetting the session was done twice instead of once. Some images where missing for one request. Now they are show right away!
Fix: Only the first 10 diretories where in cluded in the topx because of a recursion problem. Now it works like it should!
Fix: The album exporer was not working selecting the menu items anymore after the data is loaded from the cache. The session info was not stored to the cache. Now it is and even at direct links the right menu item is selected.
Fix: funpic.de changed it's layer ad's. I adopted TWG that they are now again removed ;).

1.7.3.3
New: The key 'Esc' does now close the maximized view!
Fix: When using php include and direct download was enabled the popup was not found. Now the popup is displayed fine.

1.7.3.2
New: You can now show/hide the breadcrumb by setting $show_breadcrumb to true/false
Fix: The Flash Uploader was infrequently not working the first time. This was a timing issue with the session that is now fixed! You should update to be 100% sure that it works all the time!
Fix: The website structure has changed - TWG does now use the new links - the old ones still work but are only redirected.
Fix: When using php include the smilies where not shown when smilies are loaded by the Ajax solution.
Fix: Breadcrumb had one > too much with images in the main folder. Now it is o.k.
Fix: The recursive view dir function has now a maxumum depth limit of 10. This avoids a looup if the directory structure is linked in a loop!
Fix: precaching and php include was throwing an error message in the log about smilies not found. During caching this should not be done anyway and therefore smilie replace is now disabled during caching.
Fix: TFU: Preview text was not shown properly - always preview not available was shown.

1.7.3.1
Fix: I reworked all skins to work nicer with the new thumbnail flash and with the album tree!
Fix: Roation when using the thumbnail strip was not working. Now it does ;)
Fix: Divx support was brocken for special characters - i fixed the encoding and now it wotks fine again
Fix: Remote directoy support improved. It does now support special characters
Fix: use_direct_small was not used becuse i renamed something. Now the detail images are fetched from the cache directly again.
Fix: Direct download for images in the main directory had one / too much in the path.

TWG 1.7.3 - 12.05.2008
New: Integration of a flash thumbnailstrip - new feature for registered users.
New: In the administration is a red ! where the cache has to be deleted after a change.
Fix: Mediaplayer 3.16 update!
Fix: Captions on the thumbnail page are not shown properly the 1st time. XML was read but only stored in the session - now it's available right away.
Fix: html_entity_decode_fixed was called without a needed parameter at one place.

TWG 1.7.2 - 18.04.2008
New: TFU 2.7.4 was integrated into this version.
Fix: root.txt was only working on windows systems because of a path issue. Now it works as expected on all systems.

TWG 1.7.1
Important: TFU 2.7.1 was integrated into this version because of a security bugfix. The problem is in TWG not as important as in the standalone version of TFU because it is properly integrated into the system but registered users that can rename files could change the file extension by faking a request.
New: TWG does now autorefresh the cache data if new images are added. TWG stores a timestamp in the cache data and only compares the timestamp of a directory.
New: Nonscrolling ajax strip does now support the left right buttons!
New: Support for piclens plugin - a rss is now generated for all existing cache images. The rss is only updates every 4 hours.
New: Better session handling. Session is now started before config is read. This makes it possilbe to e.g. pass parameters from a cms to the config of TWG
New: Updated the Joomla modules for 1.5 - see the jomla-mambo folder
New: Support for Firefox 3 beta 4. Fixed some small layout issues with the album explorer - everything else works fine ;).
New: (Update of TFU) Better workaround if session is killed by the server because of the flash.
New: support for shell_exec and exec. Some servers don't allow exec!
New: I added $enable_enhanced_debug - then you get the request string in the debug if an error happens - only turn this on if I tel you ;).
New: Search engine optimisation: Meta tags and the titel do now have the album
New: TWG does now delete the cache files of a file if you upload a file that already exists.
New: Workaround for 'Fatal error: Out of memory in fun_list.php is a server cannot detect the correct user group
New: Workaround for 'Fatal error' if image magick and ffmpeg fail on windows
Fix: Some minor debug warnings were eliminated - The do no real harm but they where not nice ;).
Fix: Mp3 DHTML mode was not working anymore (only 1st song played) if $linktowvx was false - this is completly unrelated and now it works like expected!
Fix: iframe include did not scroll properly in IE - please read the updated howto 2!
Fix: Search for tags was throwing a warning because dir tags could be empty. I now check the value and handle this properly.
Fix: Changed "Back" to "Previous" in the en language file
Fix + redesign: root.txt - I rewrote this part because it was hard to use - read the updated howto 21 about this!
Fix: The rights for the upload you could set in the backend was allowing folder operations even if you did not give them. There was a wrong check that I fixed now everywhere
Fix: gdlib string "2.0 or higher" was not recognized - I added this detection.
Fix: I have rewritten the detection of the posix_geteuid because there where several ways how this cannot be available.
Fix: Server IP was shown instead remote address when comments are entered!
Fix: I added a workaround for a php 4 bug. This was already in 1.6.

TWG version 1.7
New: TopX can now all be precached. They can be generated now in the background and are refreshed every 4 hours (can be set). The topx are then not up to date then. Should be used if the topx takes more than a few secounds to loads.
New: For frontend users it is now possible to have more than one user dir. See the user administration for instructions.
New: Selfregistration - read the howto how to use this.
New: Hard disk cache for directories and images. Set $serialize_dir_data=true; This is a very high level of caching you can enable. The directory structure including the images are serialized to the cache folder. After enabling this the files are updated in the intervall given at precache_main_top_x_interval.
New: image magic can be used to generate the thumbs and the detail images. gdlib is still needed! Because it is used for all images that ware only generated on the fly (like random, maximum images, slideshow optimized and slideshow maximum, fullscreen). Some people say image magic is much better than gd-lib. But I don't see a big difference anymore. But for big images this is very good because is has a lower memory usage and you can process bigger images then - make sure that image magic is installed properly! For the final I'll write a small howto how check this Wink.
New: Autorotation of images. I do now read the exif info of a file and rotate the image at the first generation if the camera has set it. Check the autorotate_images setting.
New: Support for ffmpeg to generate thumbnails directly from the video!
New: Generate thumbnail from videos during upload.
New: Conversion of videos to flv during upload possible.
New: Automatic creation of video.php!
New: Comments only for registered users possible. User name automatically set when comments only for registered users.
New: Ip for comments can now be shown - "unwanted" comments can be tracked back this way.
New: Error image if image magic is not available or not configured properly.
New: info.php checks image magick + ffmpeg
New: Reimplementation of the Ajax connection usage. Now connections are reused for better performance and less connections on the server! The framework I used before was not doing this properly!
New: Check if autorotation can be done.
New: Autorotation during upload!
New: .htaccess ins hauptverziechniss, damit man keine xml und txt files von aussen listen kann!
New: subfolders only shown on 1st page!
New: The skin is automatically removed from the my_config.php and the slide.jpg images are deleted if a skin is saved.
New: French language for administration.
New: video.php not needed anymore if you like the defaults. you then have only html as mode. If you like dhtml mode you still have to use video.php. The advantage is that videos and images can be in one folder now too.
New: show_counter_in_jstree - you can now show the number of pics in the album explorer.
New: The pager line can now be configured - it has now a style + the spacer char can be set + long pager lines are optimized!
New: Support of Geocoded images - link to google maps is in the info panel
New: Optimized loading time of 1st page - cache is now not checked every session - only every $cache_time days + reding of album tree is optimized and pushed to the background - speedup the first call by 80% (My demo gallery with 3500 images loads below 2 sec. now - was 7 sec before.)
New: Caching of topxviews can now be configured for big subdirectories as well - check $precache_topx_additional_dirs
New: Now you can have a 2nd field from the iptc data you can add to the caption - check $iptc_fields_for_caption_add and $iptc_fields_for_caption_add_style
New: Support for private.txt for the main folder that restricts the whole gallery! I have also rewritten the error login page - now you don't get a text only; you get the login form right away
New: menu.htm can be used to extend the menu in the right upper corner. is language dependent menu_de.htm. This file has to be in the main folder of twg.
New: Remote image filter enhanced. Some webservers have the full path in the href - I do now strip the path and remote images work on much more servers.
New: You can shorten the breadcrumb with ... - check $hide_middle_folders_in_breadcrumb
New: overview.htm / thumb.htm / image.htm are now language dependent!
New: local thumb.htm is now possible. simply put a thumb.htm in the folder you like to display it. On the image page you can use image.txt for this purpose.
New: Topx - views can be shown like random image on an external page or included like a random image everywhere - check the updated howto 4!
New: TFU 2.7 completely integrated in TWG now - Edit of text files is available for registered users.
New: folder.png made out of topx ! Creating a folder.png on the fly! Works folderbased and recusive. External galleries are NOT supportet.
New: Clicking on the window outside the iframe closes the iframe.
New: You can now map albums if you move them - prevents dead links! check mapping.php in the main folder - usefull if you e.g. move your albums to e.g. an 2006 folder and have links somewhere you don't want to update!
New: If the available space is smaller than the space the iframe for the slideshow needs then the iframe is made smaller if not to break the layout in php include mode
New: move_error_images - Moves corrupt images to a specific folder is you specify one. you can automatically move images that throw an error to the folder your provide here! Makes it easy to find corrupt images people upload. The problem can be too big images, or corrupt images
New: Optimized TWG for large galleries - Test the gallery with 250 000 images! Problem: The Javascript tree gets so big that it takes 15 sec to render it (means 15 sec. is used by the browser itself!) - Therefor you should turn the album tree off it you have a speed problem!
New: Latest version (3.13) of the jw_flv_player is now included and fully supported.
New: Mouseover effect with folder.png - simply provide a folder2.png - this is used when you move the mouse over the folder.
New: Russian translation added.

Refactoring: All needed calls where checked if they where needed and they where optimized.
Refactoring: TWG does now track exaclty where to go if you press the up button or the breadcrumb - you land exactly at the page you came from - before you only got to the upper level independent at which page you have been before.
Refactoring: Read the file list was dupplicated 4 times - now extracted in one function
Refactoring: Create cacheimagestring : str_replace("/", "_", $twg_album); replaced ca. 20 times!
Refactoring: I merged the functions generaterandom and generatefullscreen because the differences where very small.
Refactoring: I have consolitated the use of the cachedir - this makes it now possible to store the images in the cache in md5 an not extermely long. This makes it possible to directly access the cache without encoding! I have removed $double_encode_urls for the cache because of this!
Refactoring: Better detection of corrupt xml files. Sometimes php has written bad xml files - I have improved the detection of errors and added some automatic fixes.

Fix: Only directories that have subdirs are serialized now (setting $serialize_dir_data=true) - before too many cache files where created that only had one entry and this was not really needed.
Fix: in dev13 I added "Clicking on the window outside the iframe closes the iframe" was closing too much - now it works fine ;)
Fix: Improved html to be as good as possible w3c conform - suring development of 1.7 some stuff was not correct
Fix: Added latest version of TFU 2.7 where a color bug was fixed.
Fix: Deletion of temp caches was only working once a day - not every precache_main_top_x_interval - now this works fine
Fix: using || as break in the title was shown in the slideshow - now it's shown as <br>
Fix: on funpic servers php_uname and exec is not allowed - this leaded to an error message on the info panel - I catch this error now and display a nicer message.
Fix: When using HTML_SIDE extra images where shown left and right - they are now not shown anymore.
Fix: New pager optimized for different backgrounds. Style sheet has changed a little bit ;)
Fix: FLV player had problems with IE - I added some extra variables. Now it seems to work fine.
Fix: During Upload with the Flash uploader and when autmatically generating the thumbnails not all functions where available. This is fixed now
Fix: During Upload the session was not refreshed always when needed - now it is.
Fix: Topx for external galleries does now work too ;).
Fix: Reading the language list was throwing a warning on some servers with strict security settings like on funpic.
Fix: TWG admin: top bottom selector was not loaded and therefore set back to default if not changed every time you saved. Now it works fine like the other switches ;).
Fix: The logging.gif was not centered in ie. Now it is ;)
Fix: Fullscreen flv player can be configured - either fullscreen or iframes over flv player. Both is not possible
Fix: Video pages with old vongi.php do now use dhtml again. Automatich video detection is only possible with html mode
Fix: When exta parameters like &s=photos (like in a CMS) was added this was a problem in the check the the detail popup - a download window was shown after 2 2nd image - the reason was that the internal JS test for the popup was checking if the url ends with an image extension. I rearanged the url - now everything works fine.
Fix: language files of TFU added - they where missing ;).
Fix: Random image was not working in dev 10 anmore because I added a security check - now this check works for random image as well.
Fix: Slideshow was not enabled because of the autodetection of videos - does now work again
Fix: Browser resolution was not sent in php include mode - now it works again.
Fix: Old xml files where not read properly sometimges because I switched all tags to upper chars - now old files are read properly too.
Fix: If the broser size could not be detected an error was thrown. This is now catched.
Fix: Stripos is only available in php 5 - I removed this function because I want that TWG still runs on 4.3.x - I made a small workaround for this ...
Fix: Remote images did not work anymore since dev 4 because the autorotation was reading exif and this does not work remote - is now fixed again.
Fix: Counter for remote images where broke sind dev 3 - Was because of the refactoring I did - now this works again.
Fix: The size of the open new window version is now stored seperately. The slideshows and the autodetection of thumbs do now work with both browser instances open
Fix: New/Better xml error handling. I do now parse corrupt xml string manually and fixes the problems I know and can handle by myself properly.
Fix: xml files are now tested random every 10th time. Makes sure that the gallery does not stop to work forever because of a corrupt xml.
Fix: php include - the open new window was not working anymore - this is fixed now + the full caching is now working for php include as well!
Fix: The maximized slideshow was not working properly for horizontal images (way too big). Now they are as good as they can be ;).
Fix: A couple of strings in the backend where not right - they are fixed now.
Fix: videos where always over iframes like the comments - now the wmmode is set to transparent - iframes are now over the flash players (flv, you tube, google ...)
Fix: Folder based watermarks where not working anymore - Now they are working properly again ;).
Fix: "Cannot modify header...header already sent.." - error message - happends when files are safed in UTF-8 with BOM - I have catched this output and discard it if it happens!
Fix: Left tree with \n in foldername.txt is now supported.
Fix: When using folderlink.txt this directory is now excluded in get_view_dirs because this does not make sense.
Fix: The counter is now backuped every time and if the counter is brocken (empty or 0) the backup is used.
Fix: Catched error messages if exif data for GPS could not be read properly.
Fix: Self registration is fixed now - I added one check too much ;).
Fix: Increased security at self registration. All input parameters are now checked for possible attacks.
Fix: Gray and fade effect was only working for 1st folder because of the folder2.png implementation. Now it's fine again.
Fix: A Message in the backend was not displayed completely - now it is.

TWG version 1.6.3 - 16.07.2007
Fix: Admin could not upload with the flash in the main directory (all other users and directories worked fine)
Fix: Some minor layout fixes
Fix: I 'optimized' some images in the admin - now they are not missing anymore ;).


TWG version 1.6.2 - 16.05.2007
New: Upload menu item is now shown on the thumbspage as well.
New: TFU 2.5.1 integrated - only minor changes here you should not notive inside TWG but check out the standalone version ;).
Fix: The check of the counter cache was bad - therefore it was actually deleted everytime! - I rewrote this part and now it works fine ;).
Fix: An additional | was shown in the menu when logging in with administrator rights
Fix: TWG Admin - uploadin into subdiretories was not possible if you used the TWGxploerer first and then the Flash uploader - an invalid directory was assigned.

TWG version 1.6.1 - 10.05.2007
New: I do now directly link to the .small images. This again decreases the server load and increases the speed. Additionally it makes it possible to use the gallery even when files returned by php are destroyed by the server encoding ;).
New: Images can now be in the main directory too! ;).
New: If you add banners or something like that on the thumbspage you can specify their height in the config - this optimized the autodetection of thumbs.
New: When using the twg flash Uploader the cache images are generated after the upload!
New: A loading icon is shown when the gallery is loading the first time!
Fix: The cache of the album tree was only language dependant - now it's password dependant too. Makes it better if a gallery is unlocked - the cache has not to be regenerated.
Fix: Some php versions do return a wrong PHP_SELF variable. This leads to a wrong album explorer cache. Now the cach is double checked. I check the cache itself and check if PHP_SELF exists.
Fix: The counter cache is tested now - If an error is detected it's refreshed.
Fix: I removed the preloader from the TWG Admin - it does not make sense there ;).
Fix: After editing a file the TWGXploer was not returning to the current directory (same for delete, edit, move ...) - The action parameter was not encoded properly!
Fix: The size of an image is added to the php header when returning.
Fix: German wording in the TWG Admin
Fix: Direct links where using notscrolling thumbstrip even when not needed - now this works too ;).


TWG version 1.6 - 15.04.2007
New: Optimized Ajax Call handling! Instead of sending 5 separate requests I have bundled them = less traffic = less server load (up to 80%) = much faster dhtml mode!
New: Optimized TopX and Search! All calls to thumbnails are now not using the image.php anymore! The cache images are used directly in a top 13 call this mean 12 times less php calls = 12 times less usage of server usage = much faster :)
New: Tag-support for images and folders. Top tags + search for tags!
New: Support for IPTC meta data. Can be viewed in the info + can be automatically added to tags and a captions!
New: Mixed content for images and videos in one folder in html modus!
New: Optimized dynamic background handling does now work without restrictions and without php call
New: Auto generate folder images for protected galleries if you like.
New: Integration of the FLV-player has to be registered separately if used commercially!
New: The thumb strip can be on top and bottom now!
New: Usage of dhtml mode even when the big navigation is turned of = much nicer ;).
New: Big last-next buttons are now Ajax calls to not reload anymore when you show them
New: Nicer design for the last-next buttons They are not that big anymore
New: TWG Admin is internationalized! You can translate the backend into your language if you like!
New: I check the number of lines in the license file now. Some error do occur when you use a license file with additional returns now you get a warning in the backend.
New: Direct support for .gif images if your gd-lib supports it TWG does too
New: Sorting of directories and folders are now in natural order means a and A are next to each other = much nicer
New: Cool album explorer on the left side! for quick navigation (bonus feature for registered users)
New: eolas patch for all flashes = no stupid activation border around flashes anymore!
New: Integration of wmp streams like web radio and video streams
New: Generate preview images for extra file types! (bonus feature for registered users) cache generation is not a bonus feature anymore!
New: Allowed HTML tags allow <b><br><br><u></u> to titles and comments
New: Select box for skins
New: Random image is now recursive if specified read the random image howto!
New: Short menu when login mean when you login existing menu items are only displayed with one
New: Albums tree does synchronize with current selection!
New: i_frames are completely reworked moo.fx library integrated for a cool slide in/fade out effect.
New: TWG Admin migrates with TWG login upload ... this is only one point but makes the whole app much more flexible if you have many users with different rights!
New: Height of iframes are only the basic panel the content does now have the border and therefore it is now quite language independent
New: 4 new rights: front end edit, front end upload, backend modify, administrator the last two can go to the backend he other two can do stuff in the front end edit + upload
New: Upload rights can be configures for every user: All functions, upload + delete of images, upload only!
New: Session Cache is deleted when uploading with the TWG Flash Uploader you see uploaded files right away even when the session cache is on!
New: $metadescription can be set for the gallery will be added as meta description in the header.
New: If you provide something at $metatags the default TWG metatags are not displayed anymore.
New: Left-right buttons are automatically displayed when a dynamic background image is used because the scroll bar does only
New: All debug (TFU Flash Uploader, TWG Admin and TWG) is now in one file: counter/_mydebug.out!
New: The most important settings from the admin can now be set in the normal config file there is a small new section ;).
New: Left right buttons are now Javascript calls too!
New: TWG is now completely UTF-8!
New: Support for Nintendo Wii Controller can be used to navigate!
New: Automatic generation of protected galleries preview images!
New: 1-day caching for counters and album tree - speeds up the gallery at the 1st call a lot!
New: Logging on login into TWG Admin (counter/_twg.log)
New: Sorting prefix for directories too - format: 001___
New: bbc code for e.g. blogs in the info iframe.
New: ads in the iframes from funpic are now closed automatically ;). I don't block them but close them after 5 sec - this is something that is not diallowed in their agb's ;).
Fix: Set focus to hide stupid blinking cursors optimized
Fix: On safari switching from horizontal to vertical leeds sometimes to stretched images fixed now!
Fix: Permanent rotation was not working for the lightbox and the popup original image was not rotated now it is but direct download has to be false!
Fix: I changed the lightbox script initialization in 1.5.4. But ie has a problem with this early initialization. I added a timeout and everything is fine now ... only registered users should update!
Fix: Removed all sorting prefixes from the title bar
Fix: $use_original_on_... was not using the original but the full screen image for small images this was quite bad! For big ones it saved bandwidth I changed it that is works better for small images now!
Fix: An & in the folder name and more then one page of subdirs in this folder lead to that the 1 | 2 | .. link were not working anymore.
Fix: In 1.5.5 I optimized the reading of topx and optimized too much: images with only images where not added to the topx this fix was already applied to the 1.5.5 from the 29.11.2006!
Fix: TWG-Admin you could not entry arrays with multiple entries in the free text field. I extended the check there!
Fix: Sorting by date reworked now it sorts much better because I use my own sorting method
Fix: If you have more than one overview page and you where selecting the 2nd then the gallery was always jumping to the 2nd one
Fix: Improved Javascript error messages!
Fix: Topx 1. image was too big
Fix: a | in the Topx was missing under some settings!
Fix: "New"-Icon had no link
Fix: Folder icon link was not wroking in IE7 but all other browsers. Now it does work in all browser.

TWG version 1.5.5 30.10.2006 22:00
New: New mp3 player fixed a couple of small issues and added looping and auto start into the flash not 2 flashes are needed anymore!
New: Latvian language added Thanks to Inita
Fix: WMP was not playing anymore because I added support for web radios and missed a = ;). Not it works again!
Fix: Safari: The Ajax image switch was not working properly when a vertical image and then a horizontal image was displayed the horizontal was stretched now I have implemented a workaround ;).
Fix: Safari: On the main page the albums collage was shown not as square but underneath each other when an album description is available (registered users only) not it is displayed like on any other system as nice square

TWG version 1.5.4 13.10.2006
New: $open_in_maximized_view = you can now open the image in the full screen mode if you click in the detail image
New: Support for web radios that have an Windows Media stream howto 34 will be extended at the weekend ;).
Fix: Storing xml in pictures dir was not working with the new caching mechanism now it does!
Fix: The full screen view was not showing the actual original image when clicking again on the image the image when full screen was opened is used.

TWG version 1.5.3.2 12.10.2006 10:00
New: You can now change the spacing and padding of the thumbs on the thumbs page in the config with $thumb_cellpadding,$thumb_cellspacing 0,0 makes one big pictures of thumbs :).
Fix: When subdirs and thumbs are shown on one page the auto calculation of thumbs was not optimal now its better when only one row of folders is shown.

TWG version 1.5.3.1 11.10.2006 10:00
New: I check the memory size when creating small images! if images don't appear I write a debug message to the debug file!
New: Enhancing the info with file size You can check the info about which resolution is most likely he maximum you should use.
New: I check the version of the config.php Too many people have problems because they copy old config.php's in the new install. Only use my_config.php for your changes.
Fix: umask() can throw an error message I cannot do anything about this therefore I suppress this message now!

1.5.3 08.10.2006 10:00
New: TWG Flash Uploader 2.0 integrated in TWG! Check the TFU site for details of the new features!
New: 'New' marker for galleries you can specify a period where folders that have new images are displayed either with another border on an image.
New: Offset of 1st level of overview is now stored if you go to page x of the overview you com back when using the up button not used when you use the path
New: Admin can now be opened in an new window or in the same window
New: Optimized xml reading/caching for TopX and searches! now even the left memory is taken into account! TWG max caches 50% of the memory to make sure the system is still working even with big galleries! Everyone with more than 10000 images and speed problems at the topx should update!
New: Support for skins in a sub directory. You can now define a skin for a folder!
Fix: Rating image was not shown because of the new security concept now it does work.
Fix: Deleting a comment was not working when using a cms system where extra parameters are added to the url. deleting worked in the layer but not when comment is shown below the image.

1.5.2.2 21.09.2006 10:00
Fix: An admin link was still shown when logged in in the front end. This is redundant because this functionality has moved to the TWG Admin and therefore I removed it here!
Fix: When closing an iframe with the esc button the focus didn't move back now it does ;).
Fix: Local mp3's where not played when the prefix like 001___ was used for sorting it was removed when looking for the file directly. Enhanced the faq as well!
Fix: Deleting of comments was not working when the cache was on now the cache is reloaded after a comment is deleted.

1.5.2.1 20.09.2006 10:00
Fix: The include navpath.inc.php was not included properly when some base dir restrictions are activated I added the path should now work on all systems.
Fix: Division by zero could happen when calculating an offset now not possible anymore
Fix: Some headers where set in the wrong order leads to an output in the debug file no affect to the gallery

TWG version 1.5.2 17.09.2006 10:00
New: imagettftext is checked before used because some people don't see images because they don't check their settings therefore I check better not to have a watermark then not to have any image ;).
New: Personal license is available means you can get a license and use this license for you own projects as often as you like.
New: Support for renamed PNG's you can now use PNG's if you rename them to jpg's images are bigger but looks nicer because no jpg artifacts do exist
New: Menu of the TWG Admin can be shown and hidden now gives more space e.g. in the color manager
Fix: Popup resize improved!
Fix: After the admin link was a | too much if login and admin link are not shown.
Fix: the default page that is loaded in the iframes is now a blank page and when closed the blank page is again loaded
Fix: The detection of the max upload limit in the TWG Admin was not reading values in k right (e.g. 1500k only 2m or 4m was working)
Fix: Password protected galleries jumped directly to the image the thumbs page was skipped now this works like it should!
Fix: when the random image path was wrong a file called 120 was created (was a simple jpg) in the main folder by mistake now this file is not created anymore.
Fix: Transparent skin was not completely transparent.
Fix: In the full screen control the language for 'Bild' was not internationalized was German all the time ;).

TWG version 1.5.1 03.09.2006
SECURITY FIX: .. is not allowed in parameters anymore used at twg_album you could list upper directories!
SECURITY FIX: Comments where not checked for Scripting attacks not it is titles as well! all tags are not allowed anymore! like <iframe> <script> ....
SECURITY FIX: http could be used at the twg_show parameter This is valid but could be used to link to something else than jpgs now this parameter checks if a valid jpg does exists!
New: Pre loading of xml in the background! speedup for TopX (loads now on systems with very much images much more likely (if someone opened the topx directly this does not help because cache is not build!))
New: Simple View in TWGXplorer All internal files that you normally don't need are hidden there! this is the default mode now!
New: TWG Admin simple view (Feature of 1.6 but released because of the security fix!)
New: New Menu in TWG Admin not the final version because it's planned for 1.6 This will change in the next build!
Fix: chmod when selecting only 1 element and then using the chmod function from the top menu was throwing a warning because a wrong index was used now it works properly.
Fix: TWG Admin saving of configuration with invalid values improved entering " does not allow to save the config!

TWG version 1.5.0.2 17.08.2006
Please note: You can only update single files from 1.5.0.1 to 1.5.0.2 because I have introduced a check in all included files! If you have 1.5 you have to upload all main php files!
New: If you came from TWG the logout button does now brings you back to TWG not to the login screen anymore If you directly go to the login in screen you return to the screen! (update admin/inc/login.php)
New: admin is not opened in new window anymore because you come back to TWG after logout (update inc/topnavigation.inc.php)
New: $maximum_transations_per_session you can limit the number of transactions per session this is a security feature to avoid too much traffic e.g. done by a robot The limit is currently set to 1000 pages (=images) you view!
Fix: Thumbnails in admin where not shown if you are not admin but a user with e.g. only access to the pictures dir. Now this works for all users (update admin/inc/fun_extra.php)
Fix: Generating cache was trying o generate images that are not needed (update filefunctions.inc.php)
Fix: Installer was keeping the language files for update this is a problem because 1.5 has much less default languages then 1.4.2
Fix: Bulgarian language file updated!
Fix: Installer was missing the mp3 php file (twg_audiolist.php)

TWG version 1.5.0.1 15.08.2006
SECURITY FIX: image.php and image2.php are not protected against improper use! Delete the examples folder of older installations to fix this. This installation fixes this! The example folder is now protected.
New: root.txt was changed to create something like independent galleries check the updated how to
New: Lightbox script does now center the images!
New: Memory optimization! src image is released right after the resize not at the end of the process anymore! but you still need twice the memory!
New: Full caching of XML reading!
New: New demo album with test images!

Fix: The foldername.txt was not evaluated when the i_frame private galleries was opened.
Fix: footer.htm was not included anymore because of my refractoring does now work ;).
Fix: $remove_x_chars_from_filename was not working properly now it does ;).
Fix: folder names are converted in html entities only the ones that are read from the file system! I still recommend to use album names without special characters and use foldername.txt to rename the displayname!
Fix: removed the all error display it's now commented in the filefunctions.inc.php if you need more errors simply un comment it!

08.08.2006 -v1.5
New: Video embedding for WMP, Divx Player, Google video, youtube, dailymotion read the big how to what is best for your videos!
New: TWG Upload Flash !!! Upload files like with an upload applet but 98% would be able to use it!
New: Better error handling xml files
New: Enhanced XSS detection!
New: Added enhanced debug to xml file I use this if problems with xml files happen if you have strange behavior with xml please contact me for instructions how to debug!
New: config.php for every folder makes if possible to have different backgrounds for different folders and to define the right background for the slide show!
New: Added $enable_random_image_caching to config. If you have enough space you can cache the generated random images too. Makes them show faster!
New: When only one image is present clicking closes the image in the lighbox. Added this feature for IE!
New: $show_twg_logo_if_registered you can enable the twg logo even when you are registered if you want to give me a little bit credit.
New: Moved debug file to counter dir (because xml could be removed sometimes!)
New: Optimized preload on the thumbs page
New: Optimized preload of dhtml version (and fix of the existing html) preload function on the image page
New: Optimized random image: every image from a folder has to be shown once! The random is always picked from the remaining set!
New: Uninstall script
New: Dynamic umask depending on your system a different umask is set important for systems with savemode!
New: For registered users: Generate all cache images! Javascript loop otherwise it would kill the server :).
New: For registered users: An overview over the pictures folder (all folders, number of images, size)
New: If the debug if is > 100k you get a warning in the TWG Admin!
New: XML handling was completely reworked you can now move xml files to the subdirectories (by switch!)
New: Error while reading of XML happens most of the time because of concurrent use. Now we try 2 times before we start the error routine!
New: Auto skip thumbnail page
New: Auto detect if no scrolling is needed for thumbs ($autodetect_noscoll)
New: new cmotiongallery style not scrolling just jumping to the clicked image looks like the html soltion with the advantages of the dhtml solution if dynamic background is used this is default because in this mode the scrolling does not work good
New: Slovak translation add! Thanks to Roman Korcek
New: Search for Folders !
New: Search for x latest upload!
New: If you only have one hit at the search you can directly jump to this hit!
New: Different size for big navigation!
New: Extra info which extra files are installed for which folder bonus for registered users ;)
New: I exchanged the font from tahoma to verdana because it looks the same and is ~ 100k smaller!
New: Speedtest can have a smliy icon if the bandwith is very high only visual effect no functionallity behind this.
New: Extended TWG admin with another few settings.
New: Remote images can not be read from a "images page" where only hrefs with full links to images are stored This makes it possible to collect images from all over the world!
New: Bulgarian language file! Thanks to Valery
New: Show subscribers in the Admin email panel!

Fix: Colage was shown in one long row if browser windows was too small now it's shown as it should as square
Fix: Ecoding of images was done to often sometimes Therefore the cache images ware not used correctly on all systems! TWG is now even faster!
Fix: Info does not working properly when php include was set
Fix: php include and lightbox was not working properly! Images were not shown and therefore the whole thing not working.
Fix: Rating icon where not properly exchanged with php include
Fix: Opera 9 was not handling login and private password correct (took about 15 sec) I implemented a workaround for this issue!
Fix: When using admin email the link was wrong when using php include this cannot be done better but I added to the faq that you have to insert the text manually ;)
Fix: The info of remote images where not show correctly if a space was in the album name. Now this is fixed.
Fix: When the counter is of a pointer was still shown in the table cell now the pointer is set back to auto!
Fix: The title was not changed on the image page in dtml mode when using the lighbox script!
Fix: Added thumbs height and width if $show_clipped_images is true for the image.php call too this was already implemented for cached images!
Fix: Timezone was set fix to 'Europe/Berlin' can now be set in config. For available timezones see http://www.dynamicwebpages.de/php/timezones.php
Fix: Random module for Joomla was not centering in all browser now it does!
Fix: Invalid album names don't create a ghost xml file anymore
Fix: || as new line in tiles did only work for direct calls when using the dhtml navigation this was not exchanged now it is ;).
Fix: The translator was not shown nicly next to the logo now it does.
Fix: Info for other file formatis is now shown properly where present not for the preview images anymore
Fix: Error ".include/fun_list.php, line 482: Undefined index: tar" fixed in admin
Fix: During image creation some memory was alocated longer as necessary changing this lead to less memory usage when using watermark on originals and rotation
Fix: File name was not used properly for download when watermark was displayed on original
Fix: Added detection of TWG album description in TWGXplorer
Fix: Added detection of TWG xml files in TWGXplorer
Fix: Stop of slideshow was not working properly on some systems with php include.
Fix: Optimized browser detection
Fix: Autoresize background was not working in IE properly!
Fix: Reworked the Topx for remote images was only working with "simple" filenames
Fix: reworked encoding for comments and for the text in the browser title!
Fix: show_captions was not included in the slideshows! now disabling the captions disable it in the slideshow too!
Fix: Copy in TWG Admin was not working when a ' ws in the album name really old bug still from the Joomlaxplorer!
Fix: root.txt was working differently in main folder and subfolder now it it working the same. Read the howto 21 for more details!
Fix: When saving a comment link was missing &twg_standalone=true if pressent!

1.4.2
New: Lighbox script is included in TWG! Thanks to Lokesh Dhakar for this nice script. this is a bonus feature for registered users.
New: Caption can be shown on the thumbs page $show_caption_on_thumbs
New: New rating buttons the old ones are in the rate_old folder in the buttons folder if you like the old ones just copy them back to the buttons folder
Fix: Portugese translation updated
Fix: Subscribe for "newsletter" was only possible with login = true now it only depagned on the show_email flag!
Fix: Port was not added to the url of the email notifiction when a comment or a rating was entered.
Fix: Security fix because of scipts that could be executed when using in request. for details see http://secunia.com/advisories/19660/
Fix: Did some code optimizations and removed some warnings when utf-8 ist used!

1.4.1.3
New: album.txt left/right album description see howto 32 this is a small feature for registerd users only ;).
New: root.txt for the main folder see howto 21
Fix: ie had a problem with ordner.gif when displyed in a span. The link was displayed but now working is fixed now!
Fix: Some combinations of menu entries had wrong | now all are fine.
Fix: Automatical removal in the backend works now too properly!

1.4.1.2
New: Automatic removal of the twg logo at the bottom and the ads in the backend if you store the licence file in the main directory
New: if crtl is pressed the keyboard navigation is disabled for 2 sec because then crtl c can be used!

1.4.1.1
New: Added some more help text in the TWG Admin
New: Javascript checks the configuation in the TWG Admin to make entering values there more save!
Fix: IMPORTANT: TWG Admin could kill the my_config.php if "" where entered in the optional field if magic quotes are off!
Fix: Added Parameter $iframe_height_ie for iframe include mode!
Fix: I changed the error message when TWG Admin is installed in the root on some systems this lead to an error!

08.5.2006 v 1.4.1
New: TWG Admin configuration of my_config.php!
New: TWG Admin Style sheet from the Color Manager can be saved as my_style.css
New: New switch $disable_direct_thumbs_access in the config.php you can disable the usage of direct cache images this is usefull if you have protected galleries and don't want anyone to get the images from the cache if he knows the name! The opimized slideshow is disabled if you set this to true!
New: Installer with preinstall check and safemode detection check the new readme!!
New: Popup for random image please see he how-to for a random image for details!
New: Support for removing the powered by TWG for people who don't like this you have to make a small donation or something like that to get the licence!
New: TWG admin upload error messages extended! there is now a new error if the error code is 6 = missing temp directory!
New: check for images with size 0 they are now ignored!
New: Rearanged TWG Admin menu If default admin password is used it jumps to the change password page right away.
New: Registration of TWG is now possible. You can remove the TWG link at the bottom then!
New: Enhanced keyboard navigation e.g. c open comments ... see the user help page for all shortcuts!
New: Focus on the input field if you open an iframe like comments
New: Simplified Chinese translation! Thanks to George Ren
New: Czech translation finished Thanks to Martin Papula
New: Other file formats can be opend on thumbs page!

Fix: The links in top x (vote, comments .) where not extended by extra parameters like the ones added by a cms.
Fix: when creating a zip file in TWG Admin it was not possible to download it right away now you can. There where some error message related to this which are gone now too!
Fix: Color Manager was usering the hover color for visited now the link color is used!
Fix: Folder name caching was only for one language now for all.
Fix: $sort_by_date was not working on all systems if the exif data could be read by php itself!
Fix: external zib library had errors fixed now!

1.4.0.4
New: Update of the Dutch translation Thanks to Daniel
New: TWG admin: colorpicker and info can only be accessed by admins!
New: Support for greek Thanks to John for the new language file (utf-8 support for language files save them im utf-8 and define $charset = "UTF-8"; in the language file!)
New: Enhanced info.php
New: Enhanced captcha security images no box around images anymore! images are now rotated as well
Fix: Missing translation in the english language file
Fix: A | was missing in the top 13 if you disabled views and downloads
Fix: Include with image.txt was not using $image as described. Now you can use it like you can see in the example folder!
Fix: IMPORTANT: When using TWG with php include the iframes where scalled too big because of a bug in IE!

1.4.0.3
Fix: Js error when using php include update js/twg_image.js
Fix: Reload on some systems when using php include update index.php
Fix: Admin link was not working properly when using php include update inc/topnavigation.inc.php
Fix: twg_xhconn.js was included twice.
Fix: Layout in fullscreen mode was not correct if image.txt and mode side was used. update inc/image.inc.php
Fix: Fullscreen was not wroking properly when image.txt and image2.txt was used! update inc/image.inc.php
Fix: TWG admin created folder instead of files!
Fix: Reworked the example_php_include.php
Fix: Removed debug code from i_kommentar.php update i_frames/i_kommentar.php
New: If an error in an xml files does occur the file is backuped and a new files is used now TWG does still work if this problem occurs check the xml folder once a while for this backup files!

1.4.0.2
Fix: $background_default_image was only used if $use_dynamic_background was true. Not is works all the time! update index.php

1.4.0.1
Fix: User managenent was not working under 5.1.x update admin/.include/fun_users.php
Fix: The popup window shows a debug information and does not continue afterwards. update i_frames/i_popup.php
Fix: A small new feature: if direct download was not enabled the file name when saving the file was image.php now it is o.k. update inc/imagefunctions.inc.php

04.03.2006 v1.4
New: TWG admin backend
New: Support for non jpeg formats like avi, mpg, mp3 ... you have to provide a preview jpeg I render a nice watermark image on this preview (like a play symbol) check the how-to's and the $other_file_formats parameter!
New: 3 different effects of the 1st page: switch of image, fade (ie and ff), and a gray effect (ie) check the $folder_effect parameter!
New: Logout of private galleries by clicking on the open lock symbol.
New: Open download in popup a image is shown in original size in a optimized popup (resize to the size or if image > resolution to the max. resolution) click on image closes popup
New: Option to hide the captions menu entry login is now possible without this menu entry.
New: The bandwith icon is only shown if bandwidth test is activated.
New: Special iframe mode for ie ie needs another doctype if included in a iframe to hide the scrollbar completely this had some issues with the layout which I fixed The difference of the two modi are minimal hovering on the thumbspage does not work anymore (read how-to 27 for more details) the not iframe mode looks the same on all resolutions the ie iframe mode shows the tips not at the bottom but a little bit above This can be aranged with the ie stylesheet if you have a fixed layout !
New: TWG goes php 5.1.x some functions where rewritten and behave differently TWG was changed to work with this newer version too!
New: my_config.php for your config settings!
New: New big Navigation : HTML SIDE shows pictures left and right to the image! Special mode for 8 images! read the how-to 29
New: Interated bandwith test no test screen is shown before if you set $test_connection_background to true But the 1time the Gallery is loaded in high bandwith mode the test results can only be used after the 2nd request!
New: The Search was cutting of the albums names after a fixed length now it is searching for spaces to make the cut nicer!
New: You can disable the Comments display in the menu but it is still available below the picture
New: if you use a || in the caption a new line is created!
New: Some server allow to increase the memory limit if you have problem with the memory read $try_to_increase_memory_limit_to_32MB
New: image.txt can be shown before, next and below the image and can have php code as well! read the how-to 28!
New: No cache display if the cache is off this is shown on the right bottom with a nice error text
New: foldername.txt is used fpr the display at saerches as well!
New: Ignore list for directories you can e.g. ignore all CVS directories!

New: New skin "admin"
New: Internal caching of foldername.txt
Fix: Opera, dynamic background and the cmotion gallery was too slow disabled now for Opera the other Browser were very slow I made a workaround here to increase the speed.
Fix: Some php versions and security settings made problems when writing the cache. Found a workaround for this ;).
Fix: Some minor layout stuff.
Fix: If you open the gallery in a new window the border and the big navigation is shown automatically if you go back to the normal windows this settings are there too. Now this settings for the main window stay like they are if the settings are not changed in the new window.
Fix: If you where using really big menus (like 200x200) on the 1.st page the text was not centered
Fix: When you did a direct access to the images the default mode was HTML now the realy mod is used
Fix: Wrong parameters where creating dummy xml files now the names are checked before
Fix: Rework the skip thumbnail page path and backbutton is now optimized
Fix: albmms with an ' where not working properly!
Fix: If you where not using the automatic detection how may thumbs where shown and where using a very big y then always the space for this amount was reserved now its calculated
Fix: Text for entering a caption changed not for all languages yet!
Fix: Subalbums are only shown once if a 2nd page of images do exist in a directory!
Fix: Spaces in direct download where not encoded properly! I encoded some characters like ().. as well
Fix: Some skins where not 100% in ie!

For a update from 1.3 to 1.4 I recommend to store your config.php and your my_style.css in a save place. Delete the pictures folder from the download and replace all files in the TWG folder. Then copy the my_style.css back to the TWG directory. TWG 1.4 does include a 2nd config file called my_config.php I recommend to put your changes to the default config into this directory. This makes it easier for you if you want to migrate to any new version because cou only have to copy one file and not to merge two big config's! the config_demo folder has the two my_config.php's for the two demo galleries!

25.11.2005 v1.3c
New: Font detection: TWG does now scale the iframes if you increase the font size! Use FF to see this effect (update style.css, index.php and add inc/fixfont.inc.php). Page has to be reloaded after the change because this info has to go to the server with xmlhttp.
New: Skins (check config.php)
New: Dynamic backgrounds! (update index.php)
New: Enable/disable the border around the images on the overview page ($hidemenuborder=false to the config.php and index.php)
New: Added modules for Joomla (http://www.joomla.de) better known as Mambo!
Fix: Changed the default value of the language div from 605 to 200 if TWG is very small you get an ugly scrollbar without any reason (update all language files)
Fix: Top x was showing onln thumbnails_y -2 rows and not the top x number of images now at least the Topx number is shown (most of the time a couple more because I fill the last line with images) (update inc/index.inc.php)
Fix: Remote images where not showing exif but an error was thrown is now displayed properly (update i_info.php)
Fix: Optimized and maximized slideshow where not working if the caption had a smilie (update inc/filefunctions.inc.php and iframe/iframe.css)
Fix: Random image size was using the size as height now is is used for height and width! (image.php and inc/imagefunctions.inc.php)
Fix: Rating was not centered in ff when shown below the navigation! (update inc/rating.inc.php).
Fix: If a folder name contains a <br /> the images were centered now it is adjusted to the top that looks nicer! (update style.css)

For a update from 1.3b to 1.3c replace (I recommend to do a full update like described below!):

For a update from 1.3 to 1.3c I recommend to store your config.php and your my_style.css. Delete the pictures folder the config.php and the my_style.css from the download and replace all files in the TWG folder. All comments, counter and titles will be fine. Remove the old color section in the config.php with the new Skins section and add $hidemenuborder=false to the config.php

03.11.2005 v1.3b
Fix: removed unneccessary <center> tags!
Fix: stopping the slideshow was not working properly depending how the gallery was started! (update index.php and inc/mysession.inc.php)
Fix: javascript error apperad when running twg in a frame automatic closing of iframe was then not working es expected update inc/topnavigation.inc.php, inc/index.inc.php and js/twg_image.js
Fix: changed the fontsetting for the title in an extra css style (update inc/index.inc.php and style.css)
Fix: When two instances of TWG where runnung on the same server and even the session prefix was set correctly one variable was not set properly now it is (update inc/mysession.inc.php)
Fix: Smilies where not shown correctly if $show_topx_search_details were false the are now hidden! (update inc/index.inc.php)
Fix: Optimized position of counter div

For a update from 1.3a to 1.3b replace:

For a update from 1.3 to 1.3b I recommend to store your config.php and your my_style.css. Delete the pictures folder the config.php and the my_style.css from the download and replace all files in the TWG folder. All comments, counter and titles will be fine.

25.10.2005 v1.3a
New: Exif data is displayed in the info panel. Thanks to Chris for his support!
New: The info Panel does not hide automatically anymore but is updated if you select a new image.
New: French translation is up to date Thanks to Sophana
Fix: If you where using smaller images than the small pic size the slideshow was resizing anyway now not anymore
Fix: Funpic was adding ads even in the iframes. I preload a iframe where he ad is most likely shown and therefore hidden
Fix: Stopping the gallery was going toa wrong image if it was containing special characters
Fix: When updating from 1.2 to 1.3 The timestamp of the comments changed. TWG can now read old comment files properly

08.10.2005 v1.3
New: You can turn on/off a download counter. The count is shown in the info.
New: File info: shows views / download / rating / resolution / date / file name
New: Better display of the comments in the layer keeps the layout nicer if integrated
New: Counter for comments user can see how many are already entered
New: Topx for views, downloads, rating, comments (2 different views)
New: Rating with reload detection, security image and integration in 3 diffeerent places
New: Keyboard navigation up is available now.
New: 3 and 5 images in the thumbnail strip are supported now (5 was default before)
New: Removed adjustment pixel from bottom table if someone removes this all measurements for max. views are still working.
New: Random image with more than 1 album Albums are seperated by |
New: Download of a whole directory in a single zip. zip has to be provided by the gallery administrator
New: Fullscreen modus with layered control panel and slideshow fast internet connection is recommended
New: Remote picture directories (htp:// somewhere where it can be listed!) fsocksopen has to be available (funpic.de has disabled this)
New: Jump to website not to root of gallery can be defined root.txt
New: Individual background image for each folder can be defined.
New: Detection if Javascript is turned off -> TWG does hide everything that work only with Javascript!
New: All images are now transparent if you use a background where this does not fit you have to make your own.
New: Individual Metatags
New: Notification emails when comments or ratings where entered
New: Sort album by date
New: Support for Safari and Opera 8
New: Search for captions, comments, file names
New: Lots of small stuff I don't remember anymore ;)
Fix: some small layout the users reported (already included in the latest 1.2 download!) see the forum->bugs section for details
Fix: counter.png was moved to cachedir! counter direcory can be made unaccessable from outside now.

01.08.2005 v1.2
New: Dynamic iframes all iframes are dynamically changed to the right size (language dependent!) before only two sizes where available.
New: Integration in existing php sites is now possible all generated calls are adopted to the calling php file + parameters from the main page are added to all urls see the how-to section for more details.
New: Group of the config.php! There are now many options that are related to each other twg can now be configured much easier.
New: Email notification people should be able to register with their email and then get a mail if the admin wants to inform them pretty simple register and unregister + small panel where the admin can write a message! emails are stored encrypted if you like!
New: Even more w3c conform I reworked all pages and removed some html 4/xhtml mixes of the code
New: The speedtest is now integrated no need anymore to call a optimize php like before. See > $test_client_connection
New: Rename of the url parameter! All twg parameter start with twg_. This was needed to make twg integratable into all other pages and frameworks
New: Reload stop for view counter. Pressing reload of the browser does not lead to another view count.
New: enable/disable of login/options/new window/counter/ ... Almost everything can now be switched on/off.
New: New switches for browser title, show_border, maxXSize (for panorama images), autodetect_filenames_as_captions_number,show only small navigation, comment_corner_backcolor ... check the config.php for a complete list
New: Cool counter history ;) hover over the user counter to check it out.
New: twg internal structure change (check the directory lots of files moved where they really belong !).
New: $double_encode_urls for Ed ;).
New: Random image on the overview page can be enabled. Go to the main page and just press reload.
New: Random image on a non twg page which links into twg. See Demo 2 how it sook and thw how-to how to do it.
New: New language selector nice dropdown with the flags
New: Automatic detection of max. thumbnais that can be showed in the thumbnailview.
New: Sub header for galleries. Put a file named folder.txt in a folder and put a description of the folder in there. The text will be displayed below the directory name.
New: Maximized view of the detail images this images are created on the fly and are most of the time much bigger than the 'normal' ones Therefore this setting should only be used if you have a fast connection.
New: Preload of the next detail image (was done before if the big navigation was displayed is now even done for the maximized view ;))
New: A header and a footer can be added to TWG use header.htm or footer.htm to include your won header footer twg is inserting your html into an existing <tr><td>your text</td></tr>. Because of the layouting this is needed!
New: On the detailpage there is an last / first button can be turned on/off in the config.php!
New: Renamed XHConn.js to xhconn.js some users had problems when transfering a file with big characters
New: Enter comment button below the image can be turned on.
New: Maximize on "new window" can be enabled!
New: Changed folder.gif to folder.png looks better and enables gif support later!
New: Encoded passwords use the password.php to create passwords
New: Mulitiline password. More than one password for one gallery
New: Folder name as file not from directoryname foldername.txt now folder can be sorted how someone likes :)
New: Direct link to protected galleries!! twg_private_login check the how-to
New: Caching of reading directories and images added!
New: If you move the mouse over the detail image cmotion gal does center now.
New: The slideshow coutner is now gone I use the existing display in the left upper corner.
New: view counter and comments are turned off during slideshow
New: you can use a file private.png in a folder which is used instead the global private.gif if a folder is password protected.
New: overview.htm like the header.html and footer.html see how-to 3
New: folder name and folder description are now langauge dependent use e.g. folder_de.txt for the german text
New: Individual watermarks for directory. text + image see the watermark how-to.
New: smilies in comments and captions. See the smilies how-to.
Fix: When a pictures was deleted it was still linked on the Top X page.
Fix: Added additional checks of an admin is logged in before it was possible to delete komments if you know the url structure of twg this is now closed everywhere where you need admin rights ;)
Fix: iframe is now by default outside the browser. Sometimes ff was showing some errors.
Fix: Not all images were transparent ... all where ist makes sense are changed now only the left right and rotation buttons should be changed if the e.g. black is used a background
Fix: On some Systems special characters were displayed wrong all special characters are now replaced the html representation!
Fix: When a pictures was deleted it was still linked on the Top X page.
Fix: Added additional checks of an admin is logged in before it was possible to delete comments if you know the url structure of twg this is now closed everywhere where you need admin rights ;)
Fix: '+' was a character which could not be used in TWG now t can
Fix: The 'back to the overview' button was sometimes not jumping back to the right thumbnail page when subdirectories where used.
Fix: if you don't have any hits on the Top X page you get a nice message displayed.

09.05.2005 v1.1.2
New: Optimization of the cache. Unused images are deleted after a specified time $cache_time in config.php
New: Sorting by date (time taken (exif) or file time) or filename ascending or descending
New: Full support of Opera 8
New: Bottom text is now gray (check the sylesheet if you want to change the color of some elements td.bottomtableside (the help area) is a good example because you have to change the text color + the link colors)
New: If only one language is present no flag is shown anymore. Default langauge has to be set to this language!
New: Spanish and portuguese language file Thanks to Jorge Redondo and Pedro
New: The debug file can now be specified in the config.php. Some systems do not allow php to write in the main directory. You can move the location now e.g. to the cache folder.
Fix: Enable/disable IE optimization for the cmotion gallery Sometimes the preview images below the big images do not appear if this happen you can set the parameter enable_optimize_cmotion_gallery_limit_ie to false
Fix: The background color in the crossover twg_slideshow of the number and the caption was set to white in html. Now the background defined in the stylesheet is used.
Fix: Some php installations didn't encode the html characters correctly when using xmlHttp is now done by TWG
Fix: It was not possible to login private galleries. There was a typo in the session variable to check if the login was correct!
Fix: I used a HTML Validator (Tidy) to check all pages of TWG and make them W3C conform. There were lots of small bugs (e.g. missing closing tag) which the browsers fixed automatic. All incorrect code is gone now!
Fix: The crossover twg_slideshow showed a error message if the file could not be loaded on time I modified the script a little bit that this should work much better now!

02.05.2005 v1.1.1
New: cmotion gallery is centered now when using keyboard navigation.
New: The crossover slide show is using the flag $use_small_pic_size_as_height as well.
New: $enable_optimize_cmotion_gallery_limit_ie: There is an optimization for IE for the cmotion gallery. If there are images missing in the cmotion gallery: Set this value to false. All cmotion images are loaded than at the beginning (takes longer until you can use the cmotion gallery).
New: TWG can be used without cookies. Please read the FAQ for the settings of the server!
Fix: $twg_slideshow_time was missing in the config.php.
Fix: The language file from norway had a wrong variable.

28.04.2005 v1.1
New: integration of the cmotion gallery = complete DTML navigation on the details page. Works for IE and FF. Opera 7.x has a fallback szenario because no xmlHTTP is available (v8.0 will be tested soon).
New: usage of xmlHTTP for background loading no reloading of the details page anymore with the DHTML navigation.
New: maximized twg_slideshow modus (and optimization of the existing ones)
New: Prev Next on the main page (like on the thumbnail page)
New: Top XX does now work for subdirectories as well
New: Testing of the connection speed and optimizing the gallery for slow connections. Start the gallery with index.htm (index_optimize.php) instead iof index.php
New: Optimized caching only php calls where it is absolutely needed!
New: Rotation information is stored in .rot files in the cache If you did rotation in 1.05 and deleted the images from the cache the rotation was lost. Now this info is stored in the .rot files (they are in the cache as well don't delete them if you want to keep the rotation)
New: Text on images You can specify a text which are printed on your images to protect (or at least mark them) can be enabled on downloads as well!
New: watermarks you can specify a image (jpg or png png looks better!) which is shown as watermark. You can specify the transparency, image, and position of the watermark.
New: The caption is shown in the title of the Browser
New: 3 more languages Finish, Kroatian and Swiss-german :). Thanks to Vesa Alho, Hrvoje Znaor and A.Bader
New: Support for clipped images (all thumbnails have the same size where width=height) show_clipped_images
New: Rotation can be disabled show_rotation_buttons
New: The big left-right buttons can be disabled on the detailsview
New: Autodetection of filenames can be turned on/off autodetect_filenames_as_captions
New: download of original images can be enabled/disabled
New: Direct link to original images can be turned on/off see restricions of filenames!
New: Size of "new window" can be set.
New: Vertical images can be shown in the same heigth as horizonal ones verical images are smaller than but this gives a nicer navigation and layout on the details page
New: The size of the white corner, when a image has an comment can be set.
New: Detection if Javascript is enabled you can still use TWG but withou entering comments and captions.
New: Better tooltips for the flags. Just create a file named "language_<lang>.txt" in den language folder and put the description in there.
New: All cookies are removed and the settings are now stored in the session. You can define the settings with an url parameter
Fix: Captions and titles wre not working correctly when a filename contained special characters like ' or &.

04.04.2005 v1.05
New: Catching the left and right arrow on the keyboard and use them for navigation. Just try them on the thumbnail and detail view
New: Better script for the transition included works now for Mozilla as well ;). If you have problems with this twg_slideshow you can use the previous version. Replace the i_slideshowie.php with the i_slideshowie_old_ok.php.
New: Overview of the top viewed images language files where extended as well please make sure to use the actual version if you want to provide a new language.
New: Inserted translator next to powered by ...
New: Optimized caching! caching works directly (no call of php that returns the cached image) now for images where the cache name can be inserted directly into the src of the image tag (e.g abcd.jpg works, as&b.jpg caches via a php call.)
New: Added languages: turkish, italian and dutch. Thanks to
New: Renamed the iframes to i_<name> for better overview
New: Added nicer navibuttons if you like the old ones -> buttons/navigation 1.04
New: Cleaned up code lots of stuff from changes where not really nice
New: Added an example html how to integrate TinyWebGallery into an existing layout!! see "include_example.htm" in the main directory of the main page.
New: enable/disable download of original files up to version v1.04 you could always download the original files by clicking on the detail image this can be turned on/off now in v1.06 there will be even a protection to download the detail images.
Fix: Link to help page!
Fix: Not optimized twg_slideshow was showing the caption not properly
Fix: Optimized twg_slideshow was not showing the caption on some systems Thanks to Jens for helping me debuging on his system.
Fix: Fixed problem in entering titles when the filename had an character that had to be urlencoded!

23.03.2005 v1.04
New: Support for more than one directory level for the images If a directory does only contain subdirectories a folder symbol is displayed. If you copy a gif-image named 'folder.gif' into his directory, this images is used as gallery image. The number of images in a directory does now contain all images including subdirectories.
New: Language files for Swedish, Danish and French. Thanks to Jens Henrik, Magnus Lewin and A. Bader. Please send new language files to my email address. Thank you.
New: Added foreward and backward arrows on the thumbnail pages. The arrows are inlcuded in the language files and can be replaced with text if someone likes this better.
New: It's now possible to skip the thumbnail pages (config.php)
New: The image of the galleryoverview can now be the 1st image or a collage of the first four images (config.php)
New: The background of the twg_slideshow images can now be configured (config.php).
New: A 'views' counter is available on he right upper corner. This can be turned on/off in hte config.php. A top 10 is planned for version 1.05.
New: Parts of the website are now included as documentation in the download.
New: The sorting order of the galleries can be changed (config.php)
Fix: Some text wasn't translated. Please update your local language files.
Fix: There were different email addresses on the website. It's now only one.
Fix: The rotation of the images was described the other way around.
Fix: Changed the translation from 'title' to 'caption'.
Fix: The images in the detailview wasn't centered with Opera.
Fix: The twg_slideshow wasn't using the twg_rotd images in the optimized version.
Fix: Images that where smaller as the viewing size weren't twg_rotd permanently.

07.03.2005 v1.03
New: The stylesheet is documented now. The gallery can now easily adapted to your needs. Some settings for centering the images are still in the code because Internet Explorer is ignorring the css setting.
New: Extension of the installation web page.

03.03.2005 v1.02
New: Addes some pictures to the download zip make verification of installation easier.
New: Link page added for the english version.
Fix: fixed the about link of the German version.
Fix: reading xml of the image description failed sometimes.
Fix: details view: horizontal thumbnail images are now centered under IE as well when they are between the marks.

02.03.2005 v1.01
New: Extension of the website
New: Detection of the prefered browser language the default language is set to this value.
Fix: Gallery could not be installed in the root directory of the web server (security exception) Please update if you have this problem.

24.02.2005 1. Release