Skip to content

Releases: square1-io/resized-php

Release v1.3.0

16 Sep 10:23
0f38a14

Choose a tag to compare

Added support to php 8.0
Updated test to phpUnit 9.5

Release v1.2.0

20 Oct 19:50
2b465b2

Choose a tag to compare

Bump php minimum support to 7.2.

Release v1.1.1

20 Oct 19:45
90aa383

Choose a tag to compare

Limit the length of the slug generated for the SEO portion of the URL to avoid exceeding S3 max file length.

Release v1.0.2

28 Jul 11:57

Choose a tag to compare

Update the noDefault image.

Release v1.0.1

14 Mar 11:56

Choose a tag to compare

If an invalid URL is passed to be processed instead of throwing an Exception it will know set the URL to default image.

Version 1 release

09 Mar 09:57

Choose a tag to compare

Usage

    //Initialize and authenticate
    $resized = new \Square1\Resized\Resized('key', 'secret');

    //Override host if applicable
    $resized->setHost('https://img.resized.co');

    //Set the default failover image
    $resized->setDefaultImage('http:/www.example.com/no-image.jpg');

    //Process image resize with the parameters: ($url, $width, $height, $title)
    $img = $resized->process('http://www.example.com/some-image.jpg', '100', '100', 'This is a title');