Skip to content

Commit 3ae6baf

Browse files
committed
added externalImages configuration in readme
1 parent acea848 commit 3ae6baf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Used to get data from oembed api if it's available. It accepts two options:
129129
Used to get data directly from the html code of the page:
130130

131131
* maxImages (int): Max number of images fetched from the html code (searching for the `<img>` elements). By default is -1 (no limit). Use 0 to no get images.
132+
* externalImages (bool|array): By default is false, this means that images located in other domains are not allowed. You can set true (allow all) or provide an array of url patterns.
132133

133134
#### facebook
134135

0 commit comments

Comments
 (0)