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


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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 9 Years, 4 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 9 Years, 4 Months ago Karma: 0
This is the Screenshot.
The administrator has disabled public write access.
 
#52458
Re:K2 Category Images size change 9 Years, 4 Months ago Karma: 747
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 9 Years, 4 Months ago Karma: 0
Thank you that solve the problem.
The administrator has disabled public write access.
 
Go to topPage: 1