Menu

#8702 Unsplash plugin

Parent Category:
DPMedia
Category:
Image Services
Last Updated:
Allon Moritz, Tuesday, 02 May 2023 16:29
Created:
Thursday, 12 August 2021 13:18
Hits:
1749

This feature is part of the DPMedia Standard subscription.
SubscribePHP 7.4PHP 8Joomla 4Joomla 5

Introduction

The Unsplash plugin integrates media data from the Unsplash 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 Unsplash integration is readonly. It's possible to add unlimited different Unsplash servers in the plugin.

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.

Unsplash integration into Joomla

Add your Unsplash account

You have to create an application and use the access key and secret key to fetch the data. It allows you to revoke the credentials at any time without exposing your private username and password.

Log in on the Unsplash applications page. Click on "New Application" and confirm the requirements by clicking on the checkboxes. Then hit the "Accept terms" button and enter the application name and description and click on "Create application".

You get then redirected to the app details page where you can get the access key and secret key.

If you have a high traffic web site, then you can apply for a production app where you get a higher rate limit.

Unsplash app

Import the Unsplash account

After you have created the app in the Unsplash app center it's time to import it into Joomla.

To do so, open the filesystem Unsplash plugin in the plugin manager in the back end of your Joomla site. Click on the green "+" button in the plugin edit form. Copy access and secret key from the Unsplash application into the form. Click the "Save" button in the toolbar of the plugin.

Unsplash 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 Unsplash 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.

Unsplash 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 Unsplash server.

Unsplash 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.