Commit Graph

10 Commits

Author SHA1 Message Date
Ralf Becker
0b8ad9798c set default thumbnail size to 64px and fix IDE warnings 2014-12-11 09:57:31 +00:00
Ralf Becker
1cb00eb580 for unknown apps eg. "/apps/InfoLog" use "filemanager" 2014-06-16 13:19:07 +00:00
Andreas Stöckel
43e4fa2c3c Updated the thumbnail generator to use the egw_cache_file class to generate a temp filename 2011-02-21 18:37:45 +00:00
Andreas Stöckel
2a71bab988 Fixed parts of EGW Stylite Bug #8260. Very wide images do not longer get displayed very broadly in the filemanager select widget.
To achive this, some changes to the CSS were made and the ability to return thumbnails with a given size was added to etemplate/thumbnail.php. Miniature images with dimensions smaller than one pixel are now no longer created.
In this progress I discovered a minor security issue which might cause multiple egroupware instances to mix up their thumbnails in rare occasions. This was fixed by now hashing the image path together with the webserver url and the thumbnail size. In this progress, the thumbnail generation code has been restructured, making it faster and much easier to understand.
2010-12-30 19:54:43 +00:00
Ralf Becker
401d9dcf21 removed now global available array_stripslashes 2010-06-11 10:39:59 +00:00
Klaus Leithoff
989bba917f you can not use egroupwares autoloading before the basic egroupware objects are included, so we implement array_stripslashes in thumbnail.php itself, as it seems to be the fast way when get_magic_quotes_gpc is enabled 2010-02-12 15:05:40 +00:00
Ralf Becker
8a014ce016 "imediatly closing the sesson, as there's no need to keep it open (and preventing parallel calls)" 2009-04-19 07:22:00 +00:00
Ralf Becker
7be96d4412 "added file_exists()" 2009-04-07 19:40:42 +00:00
Ralf Becker
96e773777f "dont show thumbnails of files not readable by current user" 2008-11-09 15:54:01 +00:00
Ralf Becker
0218ffb751 - new vfs-widget to encapsulate common vfs/file related stuff
+ path with clickable components
  + human readable size, mode, ...
  + mime icon with integrated thumbnail creation
- link widget uses now vfs-mime for it's icons
- thumbnail creation is now switched on with size 32px by default, it can
  be switched of by the admin or user, in doing so explicitly
- mime-icons are moved from filemanager to etemplate, as not everyone
  installs filemanager
- filemanager has now 3 display modi:
  + Current directory (with subdirs always on top)
  + Subdirs sorted in
  + Files from subdirs (shows recursive all files and you
    can click on the path components thanks to new vfs widget)
2008-10-06 17:43:42 +00:00