Diogo Cordeiro a9c365a5eb [VersionBump] 2.0.0alpha0 před 4 roky
..
actions b25632ebc4 [PLUGINS] Fixed oEmbed dependents to use Embed před 5 roky
locale a9c365a5eb [VersionBump] 2.0.0alpha0 před 4 roky
LinkPreviewPlugin.php b730582336 [CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL před 5 roky
Makefile 8babcc2ad2 Makefile to compress LinkPreview's js před 14 roky
README b25632ebc4 [PLUGINS] Fixed oEmbed dependents to use Embed před 5 roky

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');