Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest
  • Page:
  • 1

TOPIC: image dimensions

image dimensions 10 years ago #18048

Dear,
please how can i specify images dimensions in html (default) the code for images in the default template is like this:

<?php $img = modSjK2SlideShowiiHelper::getK2Image($item, $params, $prefix='imgcfg' );
echo modSjK2SlideShowiiHelper::imageTag ($img);?>

i need to put: height and width

Re: image dimensions 10 years ago #18063

  • SA Hoang
Dear pikiame

In Administrator, please go to our module to change. We have parameters for these.

Thanks

Re: image dimensions 10 years ago #18081

i Know, but i need to specify for site optimization. just to declare this dimensions in html.
width = "X" height ="y"

Re: image dimensions 10 years ago #18249

any help with this request?

Re: image dimensions 10 years ago #18478

  • SA Hoang
Hello,

Please refer this way:

echo modSjK2SlideShowiiHelper::imageTag($img, array('width' => '200px', 'height' => '300px'));


You change 200px and 300px to your values

Thanks
  • Page:
  • 1
Time to create page: 0.22 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes