-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8948dbf
commit ea8fdd9
Showing
1 changed file
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,15 @@ Customize-Images | |
Info | ||
====== | ||
|
||
* Name Customize-Images | ||
* Task Image Crop & Cut with Caching | ||
* Name Customize-Images | ||
* Task Image Crop & Cut with Caching | ||
* Version 1.2 | ||
* Date 2013 | ||
* Date 2013 | ||
* Author Dario D. Müller | ||
* Mail [email protected] | ||
* Mail [email protected] | ||
* Homepage http://dariodomi.de | ||
* GitHub https://github.com/DarioDomiDE | ||
* Copyright (c) 2013 by Dario D. Müller | ||
* Copyright (c) 2013 by Dario D. Müller | ||
|
||
Installation | ||
====== | ||
|
@@ -22,14 +22,16 @@ Installation | |
3. Visit in your browser: http://localhost/Customize-Images/files/testimage_w450_h250_c.jpg | ||
|
||
How to use | ||
====== | ||
=== | ||
|
||
1. This Project make access to images with direct build-in croping and scaling of files | ||
2. It also represents a caching-functionality of the cropped & sliced images | ||
3. Access to an Image as usual "domain.com/files/[custom-path]/filename.jpg" | ||
4. All files (".htaccess" & php-files) can stored in directory "files/" | ||
5. Browse to an image | ||
6. | ||
|
||
Browse to an image | ||
=== | ||
|
||
* /path/imagename.jpg (get image with original width & height) | ||
* /path/imagename_w400.jpg (get image with reduced width=400px) | ||
* /path/imagename_h250.jpg (get image with reduced height=250px) | ||
|
@@ -40,15 +42,15 @@ How to use | |
* /path/imagename_w600.jpg?dev (caching is disabled if $env is 'DEV') | ||
|
||
Mode | ||
====== | ||
=== | ||
|
||
One Param of Filename can be a one-char string who set on of these Modes (crop- & distort-Modes requires both params (width and height)!) | ||
* s -> scale (scaling: use width und height as max-values, maintain proportions, requires only one length-param) | ||
* c -> crop (cropping: accept output data width and height, maintain proportions, cut too much of the scene) | ||
* d -> distort (distortion: use exactly width and height values) | ||
|
||
Inspiration: Adaptive-Images | ||
====== | ||
=== | ||
|
||
* Version 1.5.2 | ||
* Homepage http://adaptive-images.com | ||
|