Skip to content

Commit

Permalink
Readme: polished
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed May 6, 2021
1 parent 3543f6c commit 109c7cb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ extensions:
Configure extension:
```neon
imageStorage:
data_path: %wwwDir%/../public/data # Filesystem location
data_dir: data # Relative path
algorithm_file: sha1_file # Algorithm to take image prefix directory from
algorithm_content: sha1 # ...
quality: 85 # Default wuality when cropping
default_transform: fit # Default crop transformation
noimage_identifier: images/noimage/no-image.png # No-image image
friendly_url: false # Create friendly URLs?
data_path: %wwwDir%/../public/data # Filesystem location
data_dir: data # Relative path
algorithm_file: sha1_file # Algorithm to take image prefix directory from
algorithm_content: sha1 # ...
quality: 85 # Default wuality when cropping
default_transform: fit # Default crop transformation
noimage_identifier: images/noimage/no-image.png # No-image image
friendly_url: false # Create friendly URLs?
```

## Images
Expand Down Expand Up @@ -167,7 +167,7 @@ imageStorage:

2) Alter your `.htaccess` file:

```htaccess
```
# Images Storage conversion with directory suffix
RewriteCond %{QUERY_STRING} _image_storage
RewriteRule ^(\w+)/(\w+)/(\w+)/([^/]+)/(.+)\.(.+) $1/$2/$3/$5.$4.$6 [L]
Expand Down

0 comments on commit 109c7cb

Please sign in to comment.