1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Fixed - Featurebox was ignoring {SETIMAGE} values.

This commit is contained in:
Cameron 2013-11-11 03:38:26 -08:00
parent ca1e52ee33
commit 12d4513115

View File

@ -127,8 +127,10 @@ class plugin_featurebox_item extends e_model
parse_str($parm, $parm);
$tp = e107::getParser();
$src = $tp->replaceConstants($this->get('fb_image'), 'full');
// $src = $tp->replaceConstants($this->get('fb_image'), 'full');
// 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?
if(isset($parm['src']))
{
return $src;