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


Recent Events
  • 28/08/2023 CalendARI v. 1.3.0 supports Joomla! 4.x/PHP 8.x

    CalendARI is a Joomla! events manager component and now It is compatible with Joomla! 4.x.

  • 19/08/2023 ARI Quiz 3.10.0 with Joomla! 4 support

    Joomla! quiz extension with J! 3.x/4.x and PHP 8.x support.


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
#32325
Re:Adding Height and Width to Images 10 Years, 12 Months ago Karma: 0
I've found those strings but how and where do I add the height and width,do I need to fill in each part and do I have to remove brackets. Can you give me an example of the completed file for my images of 980x300?
Thanks
The administrator has disabled public write access.
 
#32327
Re:Adding Height and Width to Images 10 Years, 12 Months ago Karma: 741
If you want to use hardcoded values for width and height parameters, use the following code instead of previous one:

Code:


$imgAttrs['width'] = 930;
$imgAttrs['height'] = 300; 



Regards,
ARI Soft
The administrator has disabled public write access.
 
#32334
Re:Adding Height and Width to Images 10 Years, 12 Months ago Karma: 0
I've tried this but it doesn't seem to work. Where should I put this code and should it be pasted exactly as it is? Is there a chance you could send me the file with the code inside?
Thanks in advance
The administrator has disabled public write access.
 
#32335
Re:Adding Height and Width to Images 10 Years, 12 Months ago Karma: 741
Where we can see the slider on your site?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#32338
Re:Adding Height and Width to Images 10 Years, 12 Months ago Karma: 0
My site is www.aboutaustralian.com

Thanks
The administrator has disabled public write access.
 
#32341
Re:Adding Height and Width to Images 10 Years, 12 Months ago Karma: 741
Find updated class.ImageSlider.php file in attach.

File Attachment:
File Name: class-6be0173a56eae69646a6b41725e34370.zip
File Size: 3879


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