DownloadPHP 8Joomla 4.4Joomla 5
The Pexels plugin integrates media data from the Pexels web site into the Joomla core media manager. It allows the admin to select images in articles and any other extension which uses the core media manager. The Pexels integration is readonly. It's possible to add unlimited different Pexels servers in the plugin.
Per integrated account, Pexel needs a search query to perform the request.
Please read the Concept of image service provider integration article to get more information how to get started with the image service provider plugins from DPMedia.
You have to generate an API key to fetch the Pexels data. It allows you to revoke the credentials at any time without exposing your private username and password.
Log in on the Pexels API docs page. You will find the API key there.
After you have created the API key in the Pexels app center it's time to import it into Joomla.
To do so, open the filesystem Pexels plugin in the plugin manager in the back end of your Joomla site. Click on the green "+" button in the plugin edit form. Copy the API key from the Pexels website into the form. Click the "Save" button in the toolbar of the plugin.
Per imported account the admin can define that media files should be served locally. This helps to ensure that the site is compliant with the sites privacy policy and that the visitors are only fetching media data from the web site.
If activated, then the files are copied from Pexels to the local filesystem on a path the site admin can define. This happens when a media file is selected in an article or everywhere else from a media field. During the media list fetch, the files and thumbs are not stored locally.
Each file will be saved with the last modification timestamp to ensure that the updates are immediately reflected locally. It is also possible to define a custom width and height, so the drive of the Joomla site will not fill up quickly.
Per imported account the site administrator can define caching so images will be loaded much faster in the media manager. DPMedia uses the core Joomla cache, so it can be revoked at any time in the core Maintenance Manager. Additionally the admin can define a cache time so images will downloaded after a certain time automatically again from the Pexels server.
Comments (0)