1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-21 05:41:58 +02:00

Tweak of last commit

This commit is contained in:
Cameron
2013-11-21 19:41:29 -08:00
parent 37e1b95f75
commit fdfb8ba1f3
2 changed files with 3 additions and 3 deletions

View File

@@ -127,7 +127,7 @@ class plugin_featurebox_item extends e_model
parse_str($parm, $parm);
$tp = e107::getParser();
if($tp->thumbWidth > 100 && $tp->thumbHeight > 100) //Guessing it's a featurebox image. Use {SETIMAGE} inside theme.php to configure.
if($tp->thumbWidth > 100 || $tp->thumbHeight > 100) //Guessing it's a featurebox image. Use {SETIMAGE} inside theme.php to configure.
{
$src = $tp->thumbUrl($this->get('fb_image')); //XXX TODO TBD Add a pref to use without resizing? Or, detect {SETIMAGE} in template to enable?
}