|
Revision 28653, 1.4 kB
(checked in by caefer, 3 years ago)
|
several changes towards stable release
- corrected routing
- format examples are renamed
- thumbnailing.yml is cleaned up
- sfImageTransformExtraPluginConfiguration is cleaned up
- TODO is updated
- README is updated
- sfImageSource classes are made more similar
- New! sfImageSourcePropel to work with image sources linked by Propel objects
- resources are cleaned up
- free font is used (was unclear before)
|
| Line | |
|---|
| 1 |
sf_image_doctrine: |
|---|
| 2 |
class: sfImageTransformRoute |
|---|
| 3 |
url: /thumbnails/:type/:format/:path/:slug-:id.:sf_format |
|---|
| 4 |
param: { module: sfImageTransformator, action: index, attribute: file } |
|---|
| 5 |
requirements: |
|---|
| 6 |
format: '[\w_-]+' |
|---|
| 7 |
path: '[\w/]+' |
|---|
| 8 |
slug: '[\w_-]+' |
|---|
| 9 |
id: '\d+(?:,\d+)?' |
|---|
| 10 |
sf_format: 'gif|png|jpg' |
|---|
| 11 |
sf_method: [ get ] |
|---|
| 12 |
options: |
|---|
| 13 |
image_source: Doctrine |
|---|
| 14 |
segment_separators: [ '/', '.', '-' ] |
|---|
| 15 |
|
|---|
| 16 |
sf_image_file: |
|---|
| 17 |
class: sfImageTransformRoute |
|---|
| 18 |
url: /thumbnails/:format/:filepath.:sf_format |
|---|
| 19 |
param: { module: sfImageTransformator, action: index } |
|---|
| 20 |
requirements: |
|---|
| 21 |
format: '[\w_-]+' |
|---|
| 22 |
filepath: '[\w/.]+' |
|---|
| 23 |
sf_format: 'gif|png|jpg' |
|---|
| 24 |
sf_method: [ get ] |
|---|
| 25 |
options: |
|---|
| 26 |
image_source: File |
|---|
| 27 |
|
|---|
| 28 |
sf_image_http: |
|---|
| 29 |
class: sfImageTransformRoute |
|---|
| 30 |
url: /thumbnails/site/:format/:filepath.:sf_format |
|---|
| 31 |
param: { module: sfImageTransformator, action: index, protocol: http, domain: localhost } |
|---|
| 32 |
requirements: |
|---|
| 33 |
format: '[\w_-]+' |
|---|
| 34 |
protocol: 'http|https' |
|---|
| 35 |
domain: '[\w-_.]+' |
|---|
| 36 |
filepath: '[\w-_/.]+' |
|---|
| 37 |
sf_format: 'gif|png|jpg' |
|---|
| 38 |
sf_method: [ get ] |
|---|
| 39 |
options: |
|---|
| 40 |
image_source: HTTP |
|---|
| 41 |
|
|---|
| 42 |
sf_image_mock: |
|---|
| 43 |
class: sfImageTransformRoute |
|---|
| 44 |
url: /thumbnails/:format.:sf_format |
|---|
| 45 |
param: { module: sfImageTransformator, action: index } |
|---|
| 46 |
requirements: |
|---|
| 47 |
format: '[\w_-]+' |
|---|
| 48 |
sf_format: 'gif|png|jpg' |
|---|
| 49 |
sf_method: [ get ] |
|---|
| 50 |
options: |
|---|
| 51 |
image_source: Mock |
|---|