- Posts: 18
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Images in Category item views (links list layout) don't appear ?
Images in Category item views (links list layout) don't appear ?
- iDanny
-
Topic Author
- Offline
- New Member
Less
More
14 years 6 months ago #90023
by iDanny
Images in Category item views (links list layout) don't appear ? was created by iDanny
Althoug the parameter interface allows us to define an image size for images in the category item lists (links layout), the images don't appear.
I looked around in category_item_links.php but didn't find the image dispay condition.
I try to copy/paste the one from category_item.php but this didn't work. It can't find the image ?
<?php if($this->item->params->get('catItemImage') && !empty($this->item->image)): ?> <!-- Item Image --> <div class="catItemImageBlock"> <span class="catItemImage"> <a href="<?php echo $this->item->link; ?>" title="<?php if(!empty($this->item->image_caption)) echo $this->item->image_caption; else echo $this->item->title; ?>"> <img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo $this->item->image_caption; else echo $this->item->title; ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" /> </a> </span> <div class="clr"></div> </div> <?php endif; ?>
Anyone know what to do to get the images ti appear!
Thanks,
Danny
I looked around in category_item_links.php but didn't find the image dispay condition.
I try to copy/paste the one from category_item.php but this didn't work. It can't find the image ?
<?php if($this->item->params->get('catItemImage') && !empty($this->item->image)): ?> <!-- Item Image --> <div class="catItemImageBlock"> <span class="catItemImage"> <a href="<?php echo $this->item->link; ?>" title="<?php if(!empty($this->item->image_caption)) echo $this->item->image_caption; else echo $this->item->title; ?>"> <img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo $this->item->image_caption; else echo $this->item->title; ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" /> </a> </span> <div class="clr"></div> </div> <?php endif; ?>
Anyone know what to do to get the images ti appear!
Thanks,
Danny
Please Log in or Create an account to join the conversation.
- Reinis
-
- Offline
- New Member
Less
More
- Posts: 8
14 years 2 months ago #90024
by Reinis
Replied by Reinis on topic Images in Category item views (links list layout) don't appear ?
Same here, please help.
Please Log in or Create an account to join the conversation.
- Terry Britton
-
- Offline
- Elite Member
Less
More
- Posts: 198
14 years 2 months ago #90025
by Terry Britton
Replied by Terry Britton on topic Images in Category item views (links list layout) don't appear ?
Enable it in backend -- Item view options in category listings.
Please Log in or Create an account to join the conversation.
- Reinis
-
- Offline
- New Member
Less
More
- Posts: 8
14 years 2 months ago #90026
by Reinis
Replied by Reinis on topic Images in Category item views (links list layout) don't appear ?
i dont see such an option. how exactly is it called?
thanks
Terry A Britton said:
Enable it in backend -- Item view options in category listings.
thanks
Terry A Britton said:
Enable it in backend -- Item view options in category listings.
Please Log in or Create an account to join the conversation.
- Terry Britton
-
- Offline
- Elite Member
Less
More
- Posts: 198
14 years 2 months ago #90027
by Terry Britton
Replied by Terry Britton on topic Images in Category item views (links list layout) don't appear ?
Go to backend K2. Click on categories and select the category you're working with. Then on the right side click on item view options in category listings and you will see image. Set it to show.
Please Log in or Create an account to join the conversation.
- Reinis
-
- Offline
- New Member
Less
More
- Posts: 8
14 years 2 months ago #90028
by Reinis
Replied by Reinis on topic Images in Category item views (links list layout) don't appear ?
hi! thanks, i knew where is the switch for image show/hide but my problem is that images are showing correctly for Leading item, itemListPrimary and itemListSecondary but no images (although set to xsmall) for LinkItems.
So is there any aditional switch fot link items? Thanks
Terry A Britton said:
Go to backend K2. Click on categories and select the category you're working with. Then on the right side click on item view options in category listings and you will see image. Set it to show.
So is there any aditional switch fot link items? Thanks
Terry A Britton said:
Go to backend K2. Click on categories and select the category you're working with. Then on the right side click on item view options in category listings and you will see image. Set it to show.
Please Log in or Create an account to join the conversation.
- Terry Britton
-
- Offline
- Elite Member
Less
More
- Posts: 198
14 years 2 months ago #90029
by Terry Britton
Replied by Terry Britton on topic Images in Category item views (links list layout) don't appear ?
I don't use that view so please provide link to page.
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- Images in Category item views (links list layout) don't appear ?