Diogo Cordeiro dbe95c33c4 [aab] Revert structural change of v2 5 年之前
..
actions b25632ebc4 [PLUGINS] Fixed oEmbed dependents to use Embed 5 年之前
js dbe95c33c4 [aab] Revert structural change of v2 5 年之前
locale dbe95c33c4 [aab] Revert structural change of v2 5 年之前
LinkPreviewPlugin.php 0c2c3ec862 [CORE] Plugin API now extends a new Module API 5 年之前
Makefile 8babcc2ad2 Makefile to compress LinkPreview's js 14 年之前
README b25632ebc4 [PLUGINS] Fixed oEmbed dependents to use Embed 5 年之前

README

The LinkPreview plugin adds a UI for previewing thumbnails from links.

Note: This plugin depends on the "Embed" plugin.

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
$config['attachments']['process_links'] = true;
$config['attachments']['thumbwidth'] = 42;
$config['attachments']['thumbheight'] = 42;
addPlugin('LinkPreview');