Diogo Peralta Cordeiro 6e031d623a [VersionBump] 2.0.0beta0 3 роки тому
..
actions b25632ebc4 [PLUGINS] Fixed oEmbed dependents to use Embed 5 роки тому
locale 6e031d623a [VersionBump] 2.0.0beta0 3 роки тому
LinkPreviewPlugin.php 165edc2609 [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL 3 роки тому
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');