generated from bolt/reference-extension
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated readme with details on configuration. Fixed cropping when wid…
…th and height are either set to null.
- Loading branch information
Anders Björkland
committed
Jun 22, 2021
1 parent
62432f7
commit cab629e
Showing
5 changed files
with
38 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,6 +76,20 @@ Using the Twig thumbnail function generates images under the directory public/th | |
rm -rf public/thumbs/400×300×c/instagram/ | ||
``` | ||
|
||
### Configuration | ||
The configuration file is found at ``config\extensions\andersbjorkland-instagramdisplayextension.yaml``. | ||
|
||
* You can configure upload location, though default *files/instagram* is recommended to make the thumbnail-function work. | ||
|
||
* Specify if you want the default style for the twig-partial (*_div.html.twig*) to be active. | ||
|
||
* Specify height and width for the media-files. This will crop the image to the specified dimensions. Setting either to null will keep the media file's original aspect ratio. Setting both to null will keep the image's original size. | ||
|
||
* Dictate what colors to use for the pagination button and links. | ||
|
||
* Determine if you want to show video media, and weather it should be stored on your server. | ||
|
||
|
||
## Feedback is Welcome | ||
Please reach out to me at [email protected] if you have suggestions for features or improvements. You may open issues and push requests for said issues as well. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters