Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl-cms.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ed335
)
fix image max size
author
Jason Woofenden
<jason@jasonwoof.com>
Fri, 18 Nov 2011 07:48:39 +0000
(
02:48
-0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Fri, 18 Nov 2011 07:48:39 +0000
(
02:48
-0500)
admin_images.php
patch
|
blob
|
history
diff --git
a/admin_images.php
b/admin_images.php
index
d43255b
..
b57f2a4
100644
(file)
--- a/
admin_images.php
+++ b/
admin_images.php
@@
-23,8
+23,8
@@
define('ADMIN_IMAGES_DB_FIELDS', 'image,name,caption,sizes');
# location of this script. IT MUST END WITH A SLASH
$GLOBALS['upload_directory'] = 'cms_images/';
-$GLOBALS['image_max_width'] = '596';
-$GLOBALS['image_max_height'] = '1600';
+$GLOBALS['image_max_width'] = '704';
+$GLOBALS['image_max_height'] = '1900';
$GLOBALS['image_thumb_max_width'] = '70';
$GLOBALS['image_thumb_max_height'] = '70';
$GLOBALS['image_file_name'] = uniqid() . getmypid() . '.jpg'; # comment this out to use uploader's filename