Hello
thank you for help. Can you help me what *.php I must change for reading information from tamplate setting?
I think it is "blog_item.php" but here is code what is looking well
$templateParams = new TemplateParams($this);
if($this->templateParams->get('thumbnail') == 1){
include_once(JPATH_SITE . DS.'templates'.DS . $app->getTemplate() . DS . 'includes'. DS .'image.class.php');
$yti = new YtImageJoomlaContent();
$yti->thumbnail_mode = $this->templateParams->get('thumbnail_mode', 'stretch');
$yti->thumbnail_background = $this->templateParams->get('thumbnail_background', '#FFF');
if($this->leading_or_intro =='leading'){
$yti->width = $this->templateParams->get('leading_width', '200');
$yti->height = $this->templateParams->get('leading_height', '200');
$img_resize = $yti->processImage($this->item);
}else{
$yti->width = $this->templateParams->get('intro_width', '200');
$yti->height = $this->templateParams->get('intro_height', '200');
$img_resize = $yti->processImage($this->item);
}
Thanks Dusan