mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Gallery slider pop-up link fix. 'actualPreview' was being used by default.
This commit is contained in:
@@ -66,7 +66,8 @@ class gallery_shortcodes extends e_shortcode
|
|||||||
$att = 'aw='.$w.'&ah='.$h.'&x=1'; // 'aw=190&ah=150';
|
$att = 'aw='.$w.'&ah='.$h.'&x=1'; // 'aw=190&ah=150';
|
||||||
|
|
||||||
$srcFull = $tp->thumbUrl($this->var['media_url'], $this->attFull);
|
$srcFull = $tp->thumbUrl($this->var['media_url'], $this->attFull);
|
||||||
if(isset($parm['actualPreview']))
|
|
||||||
|
if(vartrue($parms['actualPreview']))
|
||||||
{
|
{
|
||||||
$srcFull = $tp->replaceConstants($this->var['media_url'], 'full');
|
$srcFull = $tp->replaceConstants($this->var['media_url'], 'full');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user