0
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest
  • Page:
  • 1

TOPIC: image dimensions

image dimensions 5 years, 8 months 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 5 years, 8 months ago #18063

  • admin
  • NOW ONLINE
  • Administrator
  • Posts: 1081
  • Karma: 14
Dear pikiame

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

Thanks
Join our Clubs to download our extensions and templates

Re: image dimensions 5 years, 8 months 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 5 years, 8 months ago #18249

any help with this request?

Re: image dimensions 5 years, 7 months ago #18478

  • admin
  • NOW ONLINE
  • Administrator
  • Posts: 1081
  • Karma: 14
Hello,

Please refer this way:

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


You change 200px and 300px to your values

Thanks
Join our Clubs to download our extensions and templates
  • Page:
  • 1
Time to create page: 0.37 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.

Suggested Posts

(/)
Result not found!

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
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes