Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 25/11/2021 Black Friday Promotion

    BIG SALE, 35% discount for all our extensions. Use BF21 coupon code. Hurry up the discount is valid till 1 December.

  • 30/04/2021 Important information

    We transferred to another hosting so if you are experiencing any problem let us know. We will fix it as soon as possible.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

K2 Category Images size change
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: K2 Category Images size change
#52454
K2 Category Images size change 7 Years, 12 Months ago Karma: 0
K2 Category Item view help on images height and width.

Same Height and Width implemented after installing Ari Zoom.


Please help.


before:
<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="height:<?php echo $this->item->imageWidth; ?>px; width:auto;" />
</a>
</span>


after:
<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); ?>">
{arizoom activeType="singleimage"
srcSmall="<?php echo $this->item->image; ?>"
src="<?php echo $this->item->imageXLarge; ?>"
thumbHeight="<?php echo $this->item->imageWidth; ?>px;"
thumbWidth="auto;"}{/arizoom}
</a>
</span>
Last Edit: 2014/12/07 22:44 By jamesweb.
The administrator has disabled public write access.
 
#52455
Re:K2 Category Images size change 7 Years, 12 Months ago Karma: 0
This is the Screenshot.
The administrator has disabled public write access.
 
#52458
Re:K2 Category Images size change 7 Years, 12 Months ago Karma: 737
Hello,

Try to remove thumbWidth parameter and use thumbHeight="<?php echo $this->item->imageHeight; ?>" parameter instead of thumbHeight="<?php echo $this->item->imageWidth; ?>px;"

Regards,
ARI Soft
The administrator has disabled public write access.
 
#52488
Re:K2 Category Images size change 7 Years, 12 Months ago Karma: 0
Thank you that solve the problem.
The administrator has disabled public write access.
 
Go to topPage: 1