BTImageHelper::resize($originalFile, $file, $thumbWidth, $thumbHeight, true, $params->get('jpeg_compression')); } } } $caption = $params->get('caption', 0); $showTitle = false; $showDesc = false; $showLink = false; switch ($caption) { case '1': $showTitle = true; break; case '2': $showTitle = true; $showLink = true; break; case '3': $showDesc = true; break; case '4': $showTitle = true; $showDesc = true; break; case '5': $showTitle = true; $showDesc = true; $showLink = true; break; } BTBgSlideShowHelper::fetchHead($params); require JModuleHelper::getLayoutPath('mod_bt_backgroundslideshow', $params->get('layout', 'default'));