Commit Graph

19 Commits

Author SHA1 Message Date
35f6de7f2a fix warning 2015-03-19 10:52:34 +00:00
9ccb5f7a14 Change the document thumbnails to mark with mimetype icon 2015-02-25 18:07:21 +00:00
17f83d89c7 add modification time of files to thumbnail url to allow longer caching, also set_time_limit(0) for pdf thumbnails, as they might take > 90s 2015-02-13 08:27:08 +00:00
e1e870c174 Add initial support for PDF thumbnails 2015-02-12 18:24:47 +00:00
8f4c4237ed cache based on vfs-url of image not its path which could be a sharing url 2015-02-11 11:06:01 +00:00
78a5f0fe05 allways create thumbnail, as returning default (now 128px big) thumbnail is more wired 2015-02-06 10:46:22 +00:00
2e27d90d45 thumbnailer now accepts 4 parameters in following priority: thheight, thwidth, thminsize and old thsize:
- thheight ensures a fixed height
- thwidth ensures a fixed width
- minsize ensures a minimum size
- thsize ensures a maximum size
2015-01-21 15:46:01 +00:00
baf79766a6 if exif extension is available, use it to fetch thumbnails from jpeg or tiff files 2015-01-10 13:15:17 +00:00
8fb1418b3b Some thumbnail enhancements:
- Allow client to cache thumbnails for 5 minutes, makes scrolling with tile view more bearable
- If thumbnail size is 64px or larger, extract & use thumbnail from opendocument files, makes them look better in tile view
2015-01-02 19:43:50 +00:00
0b8ad9798c set default thumbnail size to 64px and fix IDE warnings 2014-12-11 09:57:31 +00:00
1cb00eb580 for unknown apps eg. "/apps/InfoLog" use "filemanager" 2014-06-16 13:19:07 +00:00
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
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
401d9dcf21 removed now global available array_stripslashes 2010-06-11 10:39:59 +00:00
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
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
7be96d4412 "added file_exists()" 2009-04-07 19:40:42 +00:00
96e773777f "dont show thumbnails of files not readable by current user" 2008-11-09 15:54:01 +00:00
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