harvyde / image
render images at ease, renders 2x images for retina screens, detect image dimensions using php ext-gd
dev-master
2019-06-19 07:51 UTC
Requires
- php: >=5.3
- ext-gd: *
Requires (Dev)
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2026-03-01 00:27:38 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