Skip to content
Permalink
Browse files

updates #49: added image shrinking to predefined size for image upload;

parameterized translations for image upload (need dbupdate);
client-side check of image filesize for browsers with FileReader;
fixed sys_trans_ref for picture.tpl;
  • Loading branch information...
clickos authored and bohrsty committed Feb 26, 2014
1 parent 6bdd853 commit da4e0f2983966a7dd6d1cb12230dc95c54ff63da
@@ -315,8 +315,11 @@
*/
$opt['logic']['pictures']['dir'] = $opt['rootpath'] . 'images/uploads'; // Ocprop
$opt['logic']['pictures']['url'] = 'http://devel.opencaching.de/images/uploads';
$opt['logic']['pictures']['maxsize'] = 256000;
$opt['logic']['pictures']['extensions'] = 'jpg;jpeg;gif;png;bmp';
$opt['logic']['pictures']['maxsize'] = 6000*1024;
if (extension_loaded('imagick'))
$opt['logic']['pictures']['extensions'] = 'jpg;jpeg;gif;png;bmp;tif;psd;pcx;svg;xpm';
else
$opt['logic']['pictures']['extensions'] = 'jpg;jpeg;gif;png';
/* Thumbnail sizes
*/
Oops, something went wrong.

0 comments on commit da4e0f2

Please sign in to comment.
You can’t perform that action at this time.