Download the PHP package prismaticbytes/prismatic-links without Composer
On this page you can find all versions of the php package prismaticbytes/prismatic-links. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download prismaticbytes/prismatic-links
More information about prismaticbytes/prismatic-links
Files in prismaticbytes/prismatic-links
Informations about the package prismatic-links
Prismatic Links for Craft CMS
Prismatic Links brings app-like link previews to your entries.
Requirements
This plugin requires Craft CMS 3.0.0 or later.
Installation
You can install this plugin from the Plugin Store or with Composer.
Note: The license fee for this plugin is $15.00 via the Craft Plugin Store. Supporting this plugin funds future development.
From the Plugin Store
Go to the Plugin Store in your project’s Control Panel and search for “Prismatic Links”. Then click on the “Install” button in its modal window.
With Composer
Open your terminal and run the following commands:
Usage
CMS field
Create your field as you would any other field.
Usage:
- Insert a link and the preview will load automatically
- The image selector allows you to cycle between all images found on the destination URL
- The refresh button will re-fetch the page
Templates
Use our template or bring your own
Available variables
CSS
Use our CSS or bring your own
Cache
Images are cached indefinitely to avoid missing images if the destination page removes the image from their servers.
The images are stored in Craft's storage
path as storage/prismaticlinks
.
Be sure to take this into account in your deployment strategy if you want to ensure these files are not deleted.
Runtime template method
This method will fetch the data and render the template HTML at runtime.
⚠️ Do not use this method in your main templates eg. home page. Execution of remote calls to external sites will cause slow page loads and potentially hang or cause timeouts on your site.
✅ Create a template fragment to be loaded via AJAX eg. entries/url-preview/{entry_id}
and use javascript to load the template async eg. $.load("entries/url-preview/12345")
Brought to you by Prismatic Bytes