Releases: Joomla-Ukraine/JUImage
Releases · Joomla-Ukraine/JUImage
JUImage v5.7
Update to 5.7.
Combine WebP and AVIF
<?php
$thumb = $juImg->render('images/sampledata/fruitshop/apple.jpg', [
'w' => '300',
'h' => '100',
'q' => '95',
'avif' => true,
'webp' => true
]);
?>
<picture>
<source srcset="<?php echo $thumb->avif; ?>" type="image/avif">
<source srcset="<?php echo $thumb->webp; ?>" type="image/webp">
<img src="<?php echo $thumb->img; ?>" alt="Apple" width="300" height="100">
</picture>
Display as:
<picture>
<source srcset="img/apple.avif" type="image/avif">
<source srcset="img/apple.webp" type="image/webp">
<img src="img/apple.jpg" alt="Apple" width="300" height="100">
</picture>
JUImage v5.5
AVIF support
AVIF image format (requires PHP 8.1.0)
<?php
$thumb = $juImg->render('images/sampledata/fruitshop/apple.jpg', [
'w' => '300',
'h' => '100',
'q' => '95',
'avif' => true
]);
?>
<picture>
<source srcset="<?php echo $thumb->avif; ?>" type="image/avif">
<img src="<?php echo $thumb->img; ?>" alt="Apple" width="300" height="100">
</picture>
Display as:
<picture>
<source srcset="img/apple.jpg.avif" type="image/avif">
<img src="img/apple.jpg" alt="Apple" width="300" height="100">
</picture>
WebP command | Type | Default | Description |
---|---|---|---|
avif | Boolean | false | If true add support WebP image. For this option use tag <picture> . AVIF image format (requires PHP 8.1.0) |
JUImage v5.4
Update to 5.4
JUImage v5.3
Fix bug for legacy PHP 5.6
JUImage v5.2
* Fix update/install for Joomla 4 * Update phpThumb lib
JUImage v5.1
Fix
JUImage v5.0
- Update phpThumbs
- Testing PHP 8.0
JUImage v4.8
- Update PHPThumbs()
- Add background blur support
JUImage v4.6
Update to version 4.6
JUImage v4.5
Update to version 4.5