harvyde / image
render images at ease, renders 2x images for retina screens, detect image dimensions using php ext-gd
Installs: 1 458
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Requires
- php: >=5.3
- ext-gd: *
Requires (Dev)
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2024-10-29 05:34:37 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