Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DariosKrimsKrams committed Aug 15, 2013
1 parent 8948dbf commit ea8fdd9
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
======
Expand All @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit ea8fdd9

Please sign in to comment.