It’s already a few week since 2.14 is available but I added some more enhancements so that the most stable release you should use is now 2.14.3.
A quick overview what’s new:
TFU – TWG Flash Uploader
TFU does now support the creation of files, the date can be shown on the server side, folders can be sorted and you can set a directory quota for directory structures.
JFU – Joomla Flash Uploader
JFU does now include TFU 2.14.3 with all the new features that comes with it. The JFUploader Editor button is now completly configurable, previews of pdf’s can be created and even documents included with google doc viewer. Tested with Joomla 1.7.0
WFU – Wordpress Flash Uploader
WFU does now include TFU 2.14.3. Is also supports master mode and individual profiles for users and roles can be created. So now you have the full flexibility of TFU. Please read the advanced section for details.
TinyWebGallery
TWG 1.8.5 is already in the forum. I’m currently writing a plugin for Wordpress which gives you a perfect integration. I have already released a general iframe wrapper that has all features that are not TWG specific and can be found here: http://wordpress.org/extend/plugins/advanced-iframe/. If you like to test the TWG wrapper (iframe wrapper, random image widget and administration) for Wordpress please contact me.
Hi,
this are 2 quick releases because I did some optimizations and found out that some stuff could be better:
JFU 2.14.2
Includes TFU 2.14.2
Fix: The editor button was not working because of an error in the language file which caused the Javascript to fail.
TFU 2.14.2
Fix: (php) The check if a file can be deleted is now working on even more servers.
Fix: (php) Normalize function does now support ÖÄÜ which are now converted to lowercase as well.
Fix: (php) Normalize function does now work for utf-8 as well.
TFU 2.14.1
Fix: When creation of folders was disabled and write protected folders where detected then the “Add files” button was not activated again if you go to a directory that was working again. Now the Button is activated if the folder is writable again.
Fix: If you add files and move afterwards to a diretory which is not writeable the flash was still showing an active upload button. Now the button is disabled and enabled again in a directory where the upload would work.
Fix: (php) fix encoding and normalize filenames switched in tfu_uplad.php to have the correct file encoding
Fix: (php) $sort_directores_by_date was not working properly – now it does.
Fix: (php) error_log can be not allowed which was shown in Joomla on the frontend. Now this message is hidden.
So please update to this versions, WFU will be updated soon as well.
Have fun using TFU/JFU,
Michael
Hi,
I have updated TFU 2.14 to 2.14.1.
This is new:
Fix: (php) $sort_directores_by_date was not working properly – now it does.
Fix: (php) error_log can be not allowed which was shown in Joomla on the frontend. Now this message is hidden.
JFU/WFU do now include this version as well!
JFU for Joomla 1.6.x has some small layout fixes as well and the installer does now check for errors if Joomla adds wrong menu entries to the DB.
Have fun using TFU/JFU/WFU,
Michael
Hi,
TFU/JFU 2.14 for Joomla 1.5.x and 1.6.x are now released.
simply go to the website and get the latest version. Ther you also find the main changes. For details always check the history in the packages.
I have also reworked the FAQ of TFU. You now have howto 19 which helps you to understand error messages better which are caused by the server.
WFU 2.14 is almost ready and you can already download the 1.8.5 preview in the forum. You can already use 1.8.5. I currently only do some internal stuff.
Have fun using TFU,JFU,
Michael
JFU 2.14 for Joomla 1.5.x and 1.6.x is available:
This is the new stuff:
New: TFU 2.14 is included with all the new features that comes with it. e.g directory quota, creation of files.
New: JFUploader Editor extension was extended:
- JFUploader Editor extension can be configured.
- Links can be inserted
- Thumbnails of pdf’s can be created.
- html and css was optimized to work with different templates (some templates destroyed the divs)
- Google doc viewer can be used directly.
- many small fixes…
Get it here:
1.5.x: http://www.tinywebgallery.com/dl.php?fi … 14_J15_all
1.6.x: http://www.tinywebgallery.com/dl.php?fi … 14_J16_all
I now prepare the website and then this version will be offically released!
Best,
Michael
Hi,
a couple of nice improvements have been made to 1.8.5.
Please see details here:
http://www.tinywebgallery.com/forum/viewtopic.php?f=14&t=2944
Have fun using TWG,
Michael
Hi,
when using round corners and the magnifying glass of the lightbox the magnifying glass shows above the image.
This is a style sheet issue which is now fixed in the 1.8.5 preview of the forum.
- Michael
Hi,
I was looking for the best and fastest way to read the size of a directory. I found a lot of pure php functions which are very slow. I also found some optimized ways depending on the OS. I put all of them together where first the OS dependent versions are used and then the php one as backup.
On my local system the windows version was 18 times faster than the php version.
I have tested this on a couple of systems which where all using the optimized version. So feel free to use this methods.
You can download the functions here:
http://www.tinywebgallery.com/dl.php?file=getFoldersize
Below you find the (unfortunately) unformatted code.
Have fun using it
,
Michael
/**
* Optimized way to the the size of a directoy.
*
* First the windows or Unix way is tried. If this fails
* the php internal stuff is used.
*
* if you select legacy = false only the pure php
* version is used.
*/
function getFoldersize($path, $legacy = true) {
$size = -1;
if ($legacy) {
if (substr(@php_uname(), 0, 7) == "Windows"){
// we have to make the path absolute !
$path_ab = realpath($path);
$obj = new COM ( 'scripting.filesystemobject' );
if ( is_object ( $obj ) ) {
$ref = $obj->getfolder ( $path_ab );
$size = $ref->size;
$obj = null;
}
} else { // hopefully unix - du has to be in the path. If it is not you have to adjust the path.
$io = popen ( 'du -sb ' . $path, 'r' );
$usize = trim(fgets ( $io, 4096));
$split = preg_split('/\s+/', $usize);
$usize = $split[0];
pclose ( $io );
if (is_numeric($usize)) {
$size = $usize;
}
}
}
// backup if both ways fail. It is ~ 18 times slower (tested on windows) than one of the solutions above.
if ($size == -1) {
$size = foldersize($path);
}
return $size;
}
/**
* The basic php way to go through all directories and adding the file sizes.
*/
function foldersize($p) {
$size = 0;
$fs = scandir($p);
foreach($fs as $f) {
if (is_dir(rtrim($p, '/') . '/' . $f)) {
if ($f!='.' && $f!='..') {
$size += foldersize(rtrim($p, '/') . '/' . $f);
}
} else {
$size += filesize(rtrim($p, '/') . '/' . $f);
}
}
return $size;
}
Hi,
The 1.8.5 preview does now support canonical URLs.
This means that there is an additional attribute in the header that tells search engines that e.g.
http://www.tinywebgallery.com/demo/index.php?twg_album=01_Administration&twg_show=Administration+Help+Screen.gif
and
http://www.tinywebgallery.com/demo/index.php?twg_album=01_Administration&twg_show=Administration+Help+Screen.gif&twg_rot=90&twg_zs=1301827018
are the same page!
This is important to avoid duplicate content on your site. I have this now running at the demo and will check in the webmaster tools of google how this works
.
More info about this: http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=139066
Have fun using TWG,
Michael
Hi,
I have already started with TWG 1.8.5 and one of the main features is that folder.txt and foldername.txt can be edited in the front end.
I have implemented this already and the reason why this is available is that new translations are needed as well.
Additionally some small fixes are included.
So if you can help with the translation or want to use this new feature you can already use 1.8.5. But be aware that in the final a lot of more stuff will come.
For details and the download please go here:
http://www.tinywebgallery.com/forum/viewtopic.php?f=14&t=2944&start=0
Have fun using TWG,
Michael
Recent Comments