Skip to content

Commit 477f8f9

Browse files
committed
update readme for transforamtion table and bulkDeleteFiles example
1 parent 55bf3f4 commit 477f8f9

File tree

1 file changed

+61
-60
lines changed

1 file changed

+61
-60
lines changed

README.md

Lines changed: 61 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -426,65 +426,66 @@ You can manage [Security Settings](https://docs.imagekit.io/features/security#re
426426

427427
The complete list of transformations supported and their usage in ImageKit can be found [here](https://docs.imagekit.io/features/image-transformations). The SDK gives a name to each transformation parameter, making the code simpler and readable. If a transformation is supported in ImageKit, but a name for it cannot be found in the table below, use the transformation code from ImageKit docs as the name when using it in the `url` function.
428428

429-
| Supported Transformation Name | Translates to parameter |
430-
| ----------------------------- | ----------------------- |
431-
| height | h |
432-
| width | w |
433-
| aspectRatio | ar |
434-
| quality | q |
435-
| crop | c |
436-
| cropMode | cm |
437-
| x | x |
438-
| y | y |
439-
| focus | fo |
440-
| format | f |
441-
| radius | r |
442-
| background | bg |
443-
| border | bo |
444-
| rotation | rt |
445-
| blur | bl |
446-
| named | n |
447-
| overlayImage | oi |
448-
| overlayX | ox |
449-
| overlayY | oy |
450-
| overlayFocus | ofo |
451-
| overlayHeight | oh |
452-
| overlayWidth | ow |
453-
| overlayText | ot |
454-
| overlayTextFontSize | ots |
455-
| overlayTextFontFamily | otf |
456-
| overlayTextColor | otc |
457-
| overlayAlpha | oa |
458-
| overlayTextTypography | ott |
459-
| overlayBackground | obg |
460-
| overlayImageTrim | oit |
461-
| progressive | pr |
462-
| lossless | lo |
463-
| trim | t |
464-
| metadata | md |
465-
| colorProfile | cp |
466-
| defaultImage | di |
467-
| dpr | dpr |
468-
| effectSharpen | e-sharpen |
469-
| effectUSM | e-usm |
470-
| effectContrast | e-contrast |
471-
| effectGray | e-grayscale |
472-
| original | orig |
473-
| rotate | rt |
474-
| overlayImageAspectRatio | oiar |
475-
| overlayImageBackground | oibg |
476-
| overlayImageBorder | oib |
477-
| overlayImageDPR | oidpr |
478-
| overlayImageQuality | oiq |
479-
| overlayImageCropping | oic |
480-
| overlayTextTransparency | oa |
481-
| overlayTextEncoded | ote |
482-
| overlayTextWidth | otw |
483-
| overlayTextBackground | otbg |
484-
| overlayTextPadding | otp |
485-
| overlayTextInnerAlignment | otia |
486-
| overlayRadius | or |
487-
| overlayImageFocus | oifo |
429+
| Supported Transformation Name | Translates to parameter |
430+
|-------------------------------|-------------------------|
431+
| height | h |
432+
| width | w |
433+
| aspectRatio | ar |
434+
| quality | q |
435+
| crop | c |
436+
| cropMode | cm |
437+
| x | x |
438+
| y | y |
439+
| focus | fo |
440+
| format | f |
441+
| radius | r |
442+
| background | bg |
443+
| border | b |
444+
| rotation | rt |
445+
| blur | bl |
446+
| named | n |
447+
| overlayX | ox |
448+
| overlayY | oy |
449+
| overlayFocus | ofo |
450+
| overlayHeight | oh |
451+
| overlayWidth | ow |
452+
| overlayImage | oi |
453+
| overlayImageTrim | oit |
454+
| overlayImageAspectRatio | oiar |
455+
| overlayImageBackground | oibg |
456+
| overlayImageBorder | oib |
457+
| overlayImageDPR | oidpr |
458+
| overlayImageQuality | oiq |
459+
| overlayImageCropping | oic |
460+
| overlayImageFocus | oifo |
461+
| overlayImageTrim | oit |
462+
| overlayText | ot |
463+
| overlayTextFontSize | ots |
464+
| overlayTextFontFamily | otf |
465+
| overlayTextColor | otc |
466+
| overlayTextTransparency | oa |
467+
| overlayAlpha | oa |
468+
| overlayTextTypography | ott |
469+
| overlayBackground | obg |
470+
| overlayTextEncoded | ote |
471+
| overlayTextWidth | otw |
472+
| overlayTextBackground | otbg |
473+
| overlayTextPadding | otp |
474+
| overlayTextInnerAlignment | otia |
475+
| overlayRadius | or |
476+
| progressive | pr |
477+
| lossless | lo |
478+
| trim | t |
479+
| metadata | md |
480+
| colorProfile | cp |
481+
| defaultImage | di |
482+
| dpr | dpr |
483+
| effectSharpen | e-sharpen |
484+
| effectUSM | e-usm |
485+
| effectContrast | e-contrast |
486+
| effectGray | e-grayscale |
487+
| original | orig |
488+
| raw | `replaced by the parameter value` |
488489

489490

490491
## Server-side File Upload
@@ -784,7 +785,7 @@ Refer to the [Delete Files (Bulk) API](https://docs.imagekit.io/api-reference/me
784785
#### Example
785786
```php
786787
$fileIds = ["5e1c13d0c55ec3437c451406", ...];
787-
$deleteFiles = $imageKit->bulkFileDeleteByIds($fileIds);
788+
$deleteFiles = $imageKit->bulkDeleteFiles($fileIds);
788789
```
789790

790791

0 commit comments

Comments
 (0)