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


Recent Events
  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


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?

Adding Height and Width to Images
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: Adding Height and Width to Images
#32289
Adding Height and Width to Images 5 Years ago Karma: 0
Hi All, I'm trying to find a way to add the height and width tags to the images in image slider. Does anybody know how to do this and which file needs to be edited?
Thanks in advance.
The administrator has disabled public write access.
 
#32291
Re:Adding Height and Width to Images 5 Years ago Karma: 666
Hello,

Do you mean "ARI Slider" or "ARI Image Slider" extension?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#32294
Re:Adding Height and Width to Images 5 Years ago Karma: 0
Sorry,I mean ARI Image Slider
The administrator has disabled public write access.
 
#32295
Re:Adding Height and Width to Images 5 Years ago Karma: 666
See "prepareSlides" method in <joomla_directory>\modules\mod_ariimageslider\mod_ariimageslider\kernel\ImageSlider\class.ImageSlider.php file.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#32320
Re:Adding Height and Width to Images 5 Years ago Karma: 0
Thanks for the advice. I am a little confused as to which parts and how to edit the file. I have 4 images and they are all the same size, 980x300.
Thanks again
The administrator has disabled public write access.
 
#32323
Re:Adding Height and Width to Images 5 Years ago Karma: 666
See the following code:

Code:


if (!empty($slide['width'])) $imgAttrs['width'] = $slide['width'];
if (!empty($slide['height'])) $imgAttrs['height'] = $slide['height']; 



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 123