Download the PHP package sezaicetin/img-create without Composer
On this page you can find all versions of the php package sezaicetin/img-create. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sezaicetin/img-create
More information about sezaicetin/img-create
Files in sezaicetin/img-create
Package img-create
Short Description Easy image creation and optimization with php
License MIT
Homepage https://github.com/sezaicetin/img-create
Informations about the package img-create
Table of Contents
- About The Library
-
Getting Started
- Installation
- Usage
- License
- Contact
- Acknowledgments
About The Library
Thanks to the GD library, we can re-create and send image files (png, jpg, bmp, webp, gif) in an html page in the dimensions we need before sending them to the browser. When the image files to be resized are not found, the default image is created automatically.
What are the advantages of this for us?
- Reducing bandwidth costs
- Performance/Speed
- Auto Default image when file not found
It is a great waste to view image files that are uploaded at high levels, especially by unconscious or lazy users, without rescaling.
Of course, there are also disadvantages of this, but when the benefit / cost evaluation is made, it will be more accurate and logical to use it. I can recommend ;)
(back to top)
Getting Started
What we need: composer, php, gd
Installation
- Composer
(back to top)
Usage
I would like to add a few examples of usage below to show how it is used.
-
Example 1
-
Example 2
-
Example 3
- Example 4
(back to top)
License
Distributed under the MIT License. See LICENSE
for more information.
(back to top)
Contact
Sezai ÇETİN - @sezaicetin - [email protected]
Library Link: https://github.com/sezaicetin/img-create
(back to top)
Acknowledgments
(back to top)