Skip to content

Commit 1d652e1

Browse files
deleted some unwanted files
1 parent 360a8a2 commit 1d652e1

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,17 @@ For example, if you want to crop an image (with width as 300 and height as 400),
9494

9595
[Read Image Delivery API documentation](https://www.contentstack.com/docs/apis/image-delivery-api/).
9696

97-
SDK functions for Image Delivery API.
97+
Following are Image Delivery API examples.
98+
99+
// set the quality 100
100+
$imageUrl = $stack->ImageTrasform($imageUrl, array('quality'=> 100));
101+
102+
// set the quality to 100, auto optimization, width and height
103+
$imageUrl = $stack->ImageTrasform($imageUrl, array('quality'=> 100,
104+
'auto': 'webp',
105+
'width': 100,
106+
'height': 100));
107+
98108

99109
### Helpful Links
100110

0 commit comments

Comments
 (0)