gnu-social/plugins/LinkPreview/README

24 lines
578 B
Plaintext
Raw Normal View History

2016-01-22 16:01:24 +00:00
The LinkPreview plugin adds a UI for previewing thumbnails from links.
Note: This plugin depends on the "Embed" plugin.
2016-01-22 16:01:24 +00:00
Installation
============
add "addPlugin('LinkPreview');"
to the bottom of your config.php
Settings
========
process_links: Whether to process links or not
thumbwidth: The width of the link preview
thumbheight: The height of the link preview
Example
=======
addPlugin('Embed'); // Dependency
2016-01-22 16:01:24 +00:00
$config['attachments']['process_links'] = true;
$config['attachments']['thumbwidth'] = 42;
$config['attachments']['thumbheight'] = 42;
addPlugin('LinkPreview');