Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Image in category blog
(1 viewing) (1) Guest
Userguide, Report bugs, New Ideas...
  • Page:
  • 1
  • 2

TOPIC: Image in category blog

Image in category blog 12 years, 2 months ago #2312

Dear all,
where to set how to create image for category?

like here: libo.iservery.com/index.php/moda/modni-prehlidky
image is very big, I woul like use diferend style to creating image.

is here any way?

Re: Image in category blog 12 years, 2 months ago #2318

Dear Dusan Libo!
Please go to: Administrator/Templates manager/YOUR_TEMPLATE/tab:'Content Component' and work with that tab's params
To submit a ticket, please click here. Join our Clubs to have all extensions

Re: Image in category blog 12 years, 2 months ago #2322

I think, this is field what I must change, but it is not running well.
Check my picture.
I have set 210x140, but used is only style of thumbail mode. I can off this function - this is running. But I cant use my values.
In the same are is field for seting width of left-main-right area.
I can change values, but I dont see result on page (see left side banner)

here is link: libo.iservery.com/index.php/moda/modni-prehlidky
Attachments:

Re: Image in category blog 12 years, 2 months ago #2353

Any Idea?

Re: Image in category blog 12 years, 2 months ago #2357

Dear Dusan Libo!
You have customized our code(YOUR_TEMPLATE/html/com_content/..)? I saw the pictures have been fixed dimensions
<img style="height: 670px; width: 480px;" src="/cache/sj_news25/images/120418_plakat480_7cd14dae3be58b14f57454456aafde77.jpeg" alt="">

Please see our demo: demo.smartaddons.com/templates/joomla17/sj-news/
To submit a ticket, please click here. Join our Clubs to have all extensions
Last Edit: 12 years, 2 months ago by dungnv.

Re: Image in category blog 12 years, 2 months ago #2366

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
Last Edit: 12 years, 2 months ago by Troppau.
  • Page:
  • 1
  • 2
Time to create page: 0.24 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes