2016-01-23 01:01:24 +09:00
|
|
|
The LinkPreview plugin adds a UI for previewing thumbnails from links.
|
|
|
|
|
2019-07-07 01:26:15 +09:00
|
|
|
Note: This plugin depends on the "Embed" plugin.
|
2016-01-23 01:01:24 +09: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
|
|
|
|
=======
|
2019-07-07 01:26:15 +09:00
|
|
|
addPlugin('Embed'); // Dependency
|
2016-01-23 01:01:24 +09:00
|
|
|
$config['attachments']['process_links'] = true;
|
|
|
|
$config['attachments']['thumbwidth'] = 42;
|
|
|
|
$config['attachments']['thumbheight'] = 42;
|
|
|
|
addPlugin('LinkPreview');
|
|
|
|
|