Hi Peter and thank you for answer.
I did the changes you advise and it worked. Thank for that.
But, I want this view to appear on item list, not item view.
PS: I think this change should be made in category_item.php and because of my template category_item.php is different, I copy the code below.
<?php if($this->item->params->get('catItemImage') && !empty($this->item->image)): ?>
<!-- Item Image -->
<div class="clr"></div>
<div class="catItemImageBlock" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;">
<span class="catItemImage">
<a href="<?php echo $this->item->link; ?>" title="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>">
<img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" />
</a>
</span>
<div class="clr"></div>
</div>
<?php endif; ?>
<div class="catItemHeader">
<?php if($this->item->params->get('catItemTitle')): ?>
<!-- Item title -->
Edit: I Think I did. :)
I copied your second code category_item.php. Look.
<!-- Item Image -->
<div class="clr"></div>
<div class="catItemImageBlock" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;">
<span class="catItemImage">
<a href="<?php echo $this->item->link; ?>" title="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>">
<img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo K2HelperUtilities::cleanHtml($this->item->image_caption); else echo K2HelperUtilities::cleanHtml($this->item->title); ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" />
</a>
</span>
<div class="clr"></div>
</div>
<?php else: ?>
<div class="category_icon">
<img alt="<?php echo K2HelperUtilities::cleanHtml($this->item->category->name); ?>" src="media/k2/categories/<?php echo $this->item->category->image; ?>" style="width:<?php echo $this->params->get('catImageWidth'); ?>px; height:auto;" />
<div class="clr"></div>
</div>
<?php endif; ?>
and it worked. But the style changed. The image got to the top of the text. How do we take the text to the right side of the image? Now it looks like this: