From: Chuck Scott Date: Mon, 11 May 2015 20:36:18 +0000 (-0400) Subject: Stuff X-Git-Tag: v1.0.0~21 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=9efd5e11cfac7a3ed427ff1465a03e6828d4775d;p=WP-Plugins%2Fglm-member-db.git Stuff --- diff --git a/classes/glmMemberImportFromConnections.php b/classes/glmMemberImportFromConnections.php index 784397c2..11558368 100644 --- a/classes/glmMemberImportFromConnections.php +++ b/classes/glmMemberImportFromConnections.php @@ -569,12 +569,12 @@ class GlmMemberImportFromConnections // If there's an entry in the $sizes array, it means that the image resized to this size if (isset($sizes[$k])) { - +echo GLM_MEMBERS_PLUGIN_IMAGES_PATH.'/'.$sizes[$k]['file'].' => '.GLM_MEMBERS_PLUGIN_IMAGES_PATH.'/'.$k.'/'.$newFilename."
"; // Move resized file to desired direectory rename(GLM_MEMBERS_PLUGIN_IMAGES_PATH.'/'.$sizes[$k]['file'], GLM_MEMBERS_PLUGIN_IMAGES_PATH.'/'.$k.'/'.$newFilename); } else { - +echo GLM_MEMBERS_PLUGIN_IMAGES_PATH.'/'.$newFilename.' => '.GLM_MEMBERS_PLUGIN_IMAGES_PATH.'/'.$k.'/'.$newFilename."
"; // Image didn't resize to this size, probably because it was smaller than the destination size (silly WP Image Editor class) - so just use the original copy(GLM_MEMBERS_PLUGIN_IMAGES_PATH.'/'.$newFilename, GLM_MEMBERS_PLUGIN_IMAGES_PATH.'/'.$k.'/'.$newFilename); diff --git a/config/plugin.ini b/config/plugin.ini index cc31b0e4..d20b3a1d 100644 --- a/config/plugin.ini +++ b/config/plugin.ini @@ -17,20 +17,20 @@ [imageSizes] large['width'] = 800 -large['height'] = false -large['crop'] = false +large['height'] = null +large['crop'] = null medium['width'] = 400 -medium['height'] = false -medium['crop'] = false +medium['height'] = null +medium['crop'] = null small['width'] = 200 -small['height'] = false -small['crop'] = false +small['height'] = null +small['crop'] = null thumb['width'] = 60 -thumb['height'] = false -thumb['crop'] = false +thumb['height'] = null +thumb['crop'] = null [common]