Menu

The free package of DPCalendar 9.0.0 had an invalid manifest file, please download and install the file again!

#8704 Pexels plugin

Parent Category:
DPMedia
Category:
Image Services
Last Updated:
Allon Moritz, Tuesday, 02 May 2023 16:29
Created:
Thursday, 12 August 2021 14:20
Hits:
1899

DownloadPHP 8Joomla 4.4Joomla 5

Introduction

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.

Pexels integration into Joomla

Add your Pexels account

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.

Pexels app

Import the Pexels account

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.

Pexels folder

Media files locally

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.

Pexels local images params

Caching

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.

Pexels cache

Comments (0)

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.