Difference between revisions of "Extensions:Screenshot Meta Tag Images"
Jump to navigation
Jump to search
Tag: 2017 source edit |
Tag: 2017 source edit |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Extensioninfobox|title=Screenshot Meta Tag Images|desc=Adds support for page screenshots as meta tag images.|auth=Mercury|status=Stable|github={{Github|user=itinerare|branch=screenshot-meta-img}}|migration=no|package=no}} | + | {{Extensioninfobox|title=Screenshot Meta Tag Images|desc=Adds support for page screenshots as meta tag images.|auth=Mercury|status=Stable|github={{Github|user=itinerare|branch=extension/screenshot-meta-img}}|migration=no|package=no}} |
<!-- Put a short summary of your extension here! --> | <!-- Put a short summary of your extension here! --> | ||
− | Adds support for screenshots as the meta tag/preview image (on twitter, discord, etc.) captured from the page as viewed at the time. This is accomplished via use of the [https://www.thum.io | + | '''Built on <u>develop</u>.''' |
+ | |||
+ | Adds support for screenshots as the meta tag/preview image (on twitter, discord, etc.) captured from the page as viewed at the time. This is accomplished via use of the [https://www.thum.io thum.io] API; note that while up to 1000 screenshots are available per month free, beyond this requires a paid account. However, this service was selected in particular due to being fairly lenient in its free limit and affordable beyond that. | ||
== Installation == | == Installation == | ||
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. --> | <!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. --> | ||
− | # Sign up for a [https://www.thum.io | + | # Sign up for a [https://www.thum.io thum.io] account. Make a key; this can be called whatever you want. |
# On the dashboard, click "keys", then "more info" next to the key you made. Click "Edit key" at the bottom of the page. | # On the dashboard, click "keys", then "more info" next to the key you made. Click "Edit key" at the bottom of the page. | ||
# Set "Type" to "MD5". Click "Save". | # Set "Type" to "MD5". Click "Save". | ||
# Record the '''ID''' and '''Secret Key''' displayed. | # Record the '''ID''' and '''Secret Key''' displayed. | ||
# Add the following values to your .env file: | # Add the following values to your .env file: | ||
− | <code> | + | <code>THUM_IO_ID=your_id_here |
− | + | THUM_IO_KEY=your_secret_key_here</code> | |
# Pull the branch. | # Pull the branch. | ||
== Configuration == | == Configuration == |
Latest revision as of 19:56, 23 May 2021
Description | Adds support for page screenshots as meta tag images. |
---|---|
Author(s) | Mercury |
Status | Stable |
Github | extension/screenshot-meta-img |
LK Version | Unspecified |
Built on develop.
Adds support for screenshots as the meta tag/preview image (on twitter, discord, etc.) captured from the page as viewed at the time. This is accomplished via use of the thum.io API; note that while up to 1000 screenshots are available per month free, beyond this requires a paid account. However, this service was selected in particular due to being fairly lenient in its free limit and affordable beyond that.
Installation
- Sign up for a thum.io account. Make a key; this can be called whatever you want.
- On the dashboard, click "keys", then "more info" next to the key you made. Click "Edit key" at the bottom of the page.
- Set "Type" to "MD5". Click "Save".
- Record the ID and Secret Key displayed.
- Add the following values to your .env file:
THUM_IO_ID=your_id_here
THUM_IO_KEY=your_secret_key_here
- Pull the branch.
Configuration
None required.
Usage
Screenshot images should display with the rest of the meta tag information automatically (for pages without specifically set preview images) when a page on the site is linked.
Troubleshooting
Find me in the Lorekeeper server!