diff options
author | plegall <plg@piwigo.org> | 2010-06-28 20:57:35 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-06-28 20:57:35 +0000 |
commit | b7bdd227732e1bcaad5bc7b290ec65b8fe25b475 (patch) | |
tree | acae8a4f8a6a3b3e9514ab9cf20abd08b7b37f00 /admin/themes/default | |
parent | b735fef251f30b252a4978958376e1ac64cb6582 (diff) |
bug 1701 fixed: support for PNG file in browser direct upload.
If the picture is a PNG file, then the "web size" picture is also a PNG file
but the thumbnail is always a JPEG file.
git-svn-id: http://piwigo.org/svn/branches/2.1@6616 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/themes/default/template/photos_add_direct.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl index ffa5e2415..b7684f430 100644 --- a/admin/themes/default/template/photos_add_direct.tpl +++ b/admin/themes/default/template/photos_add_direct.tpl @@ -106,8 +106,8 @@ var buttonText = 'Browse'; 'displayData' : 'speed', 'buttonText' : buttonText, 'multi' : true, - 'fileDesc' : 'Photo files (*.jpg,*.jpeg)', - 'fileExt' : '*.jpg;*.JPG;*.jpeg;*.JPEG', + 'fileDesc' : 'Photo files (*.jpg,*.jpeg,*.png)', + 'fileExt' : '*.jpg;*.JPG;*.jpeg;*.JPEG;*.png;*.PNG', 'onAllComplete' : function(event, data) { if (data.errors) { return false; |