]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/LinkPreview/README
Merge branch 'fix-author-fallback' into 'nightly'
[quix0rs-gnu-social.git] / plugins / LinkPreview / README
1 The LinkPreview plugin adds a UI for previewing thumbnails from links.
2
3 Note: This plugin depends on the "Oembed" plugin.
4
5 Installation
6 ============
7 add "addPlugin('LinkPreview');"
8 to the bottom of your config.php
9
10 Settings
11 ========
12 process_links: Whether to process links or not
13 thumbwidth: The width of the link preview
14 thumbheight: The height of the link preview
15
16 Example
17 =======
18 addPlugin('Oembed'); // Dependency
19 $config['attachments']['process_links'] = true;
20 $config['attachments']['thumbwidth'] = 42;
21 $config['attachments']['thumbheight'] = 42;
22 addPlugin('LinkPreview');
23