harvyde/image

render images at ease, renders 2x images for retina screens, detect image dimensions using php ext-gd

Installs: 1 526

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/harvyde/image

dev-master 2019-06-19 07:51 UTC

This package is auto-updated.

Last update: 2025-09-29 02:42:19 UTC


README

render images at ease, renders 2x images for retina screens, detect image dimensions using php ext-gd

usage

    $img = new Image('path/to/your/image.extension');
    #if you have ext-gd widht and height will be auto detected
    # $img->width = 300;
    # $img->height = 100;
    # if not set it will be detected from @2x image file exists. exists in th
    # $img->retina = false;
    
    print $img->imgResponsive();

Support and Feedback

If you find a bug, please submit the issue in Github directly. harvyde/image Issues