Keyword

Images in Category item views (links list layout) don't appear ?

  • iDanny
  • iDanny's Avatar Topic Author
  • Offline
  • New Member
More
13 years 11 months ago #90023 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

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #90024 by Reinis
Same here, please help.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #90025 by Terry Britton
Enable it in backend -- Item view options in category listings.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #90026 by Reinis
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.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #90027 by Terry Britton
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.

More
13 years 7 months ago #90028 by Reinis
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.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #90029 by Terry Britton
I don't use that view so please provide link to page.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum