Skip to content
  • Home
  • Explore
    • Media Assets
    • Data Assets
  • Knowledge Base
    • Media Library
    • Data Library
    • API Documentation
    • Use cases
    • All Documentation
  • Access
    • Developer Tools
    • Media Library Login
    • Data Library Login
    • Request Access Account
Menu
  • Home
  • Explore
    • Media Assets
    • Data Assets
  • Knowledge Base
    • Media Library
    • Data Library
    • API Documentation
    • Use cases
    • All Documentation
  • Access
    • Developer Tools
    • Media Library Login
    • Data Library Login
    • Request Access Account

About Destination Palestine ODR

  • About Destination Palestine ODR
  • Who is it for?
  • Why Open Data?
  • Tourism Assets Available
  • Why contribute?
  • Request Access

Media Library

  • About Media Library
  • Getting Started
  • Using Available Media Assets
  • Media Library WordPress Plugin
  • Contributing Media Assets
  • Media Library API Documentation

Assets Library

  • About Tourism Assets Library
  • Getting Started
  • Using Available Data Assets
  • Asset Types and Fields
  • Destination Palestine WordPress Plugin
  • Destination Palestine WP Plugin Theming
  • Destination Palestine WordPress Theme 1
  • Destination Palestine WordPress Theme 2
  • Contributing Data Assets
  • Data Assets API Documentation

User Guide

  • Asset Types and Fields
  • Destination Palestine WordPress Plugin
  • Request Access
  • Using Available Data Assets
  • Destination Palestine WordPress Theme 1
  • Destination Palestine WordPress Theme 2
  • Contributing Data Assets
  • Destination Palestine WP Plugin Theming
  • Contributing Media Assets
  • Using Available Media Assets
  • Media Library WordPress Plugin

API Documentation

  • Data Assets API Documentation
  • Media Library API Documentation
  • Home
  • Docs
  • Media Library
  • Media Library WordPress Plugin

Media Library WordPress Plugin

Introduction #

The Palestine Tourism Media Library (PTML) plugin is designed to seamlessly integrate with the Media Library, allowing users to import and manage media content directly within their WordPress installation. With a focus on simplicity and efficiency, the plugin enhances the native WordPress media library experience.

Features #

1. Fetching Images from the Media Library #

The plugin connects to the Media Library repository to fetch images, which are categorized and tagged for easy retrieval. Users can search for images based on:

  • Name
  • Collection
  • Orientation
  • Presence of People
  • Keywords, tags, destinations,..

2. Native WordPress Integration #

The plugin seamlessly integrates with the native WordPress media library, adding a new tab called “PTML Images.” Users can access and manage imported images alongside their existing media.

3. Integration with Post Types and Page Builders #

Imported images can be added to any post type, making it easy to enhance content across various sections of your WordPress site. The plugin is compatible with both the native text editor and popular page builders like Elementor.

4. Simple Image Selection and Download #

Users can search for the right image, click on it, and the selected image will be automatically downloaded to the WordPress installation.

5. Configuration for Additional Images #

For users who wish to access more images from the Media Library, they can configure the plugin by obtaining a user authorization key from the Media Server. This key is added to the plugin settings page.

Installation #

  1. Install and activate the “Palestine Tourism Media Library” plugin from the WordPress plugin repository.
  2. Once activated, go to the WordPress admin panel and navigate to “Media” -> “Palestine Tourism Media Library.”
  3. Access the settings page by clicking on the settings button in the top-right section of the page.
  4. Configure the plugin by entering the user authorization key obtained from the Media Server account.

Discover how to seamlessly import and manage images from the Media Library using the Palestine Tourism Media Library plugin.

How to Use #

Users can import images directly from Media Library by utilizing the default WordPress media library. Follow these steps:

1- Open the WordPress media library.

2- Click on the “PTML Images” tab added by the plugin.

3- Use keywords and filters to search for specific images.

4- Click on the desired image to initiate the import process.

5- Import the image directly into your post or page, and the image style will be automatically generated.

Configuration #

Configure the Palestine Tourism Media Library (PTML) plugin to unleash its full potential by connecting to the Media Server. Follow these simple steps to set up the plugin and start importing high-quality images directly into your WordPress media library. To configure the plugin, follow these steps:

1. Navigate to the PTML Settings #

  • Go to your WordPress admin panel.
  • Click on the “Media” tab in the left sidebar.
  • Select “PTML” from the sub-menu.

2. Access Settings #

Once on the “PTML” page, look for the settings icon in the top right corner and click on it. This will open the plugin settings page.

3. Add Your Key #

On the settings page, you will find a field labeled “User Authorization Key.” Obtain your key from the Media Server. If you don’t have an account, click the “Get Key” link to sign up and receive your key.

4. Save Settings #

After adding your key, click the “Save Settings” button to apply the configuration. This step ensures that the plugin can access the Media Library using your unique authorization key.

5. “Get Key” Link #

If you don’t have a Media Server account or need to obtain a new key, click the “Get Key” link on the settings page. This will redirect you to the Media Server, where you can register and obtain your user authorization key.

Troubleshooting #

Import Failures #

If the import of images fails, check the server logs for detailed error messages. In many cases, increasing the PHP memory limit can resolve import issues.

Conclusion #

The Palestine Tourism Media Library plugin provides a seamless way to enhance your WordPress site with high-quality, categorized images from the Media Library. Whether you’re a content creator, designer, or site administrator, this plugin simplifies the process of adding visually appealing media to your WordPress content.

Still stuck? How can we help?

How can we help?

Table of Contents
  • Introduction
  • Features
    • 1. Fetching Images from the Media Library
    • 2. Native WordPress Integration
    • 3. Integration with Post Types and Page Builders
    • 4. Simple Image Selection and Download
    • 5. Configuration for Additional Images
  • Installation
  • How to Use
  • Configuration
    • 1. Navigate to the PTML Settings
    • 2. Access Settings
    • 3. Add Your Key
    • 4. Save Settings
    • 5. "Get Key" Link
  • Troubleshooting
    • Import Failures
  • Conclusion

The Destination Palestine Media Library is operated as a service to the entire Palestinian tourism sector and anyone working in/with Palestinian tourism by the Palestine Ministry of Tourism & Antiquities. All copyrights for material stored in the Library remain with the respective creators.

The Destination Palestine Media Library and part of its content was developed with the financial support of the European Union and the German Federal Ministry for Economic Cooperation and Development. Its contents are the sole responsibility of the Palestine Ministry of Tourism & Antiquities as the management unit and responsible curator of the Destination Palestine Media Library and do not necessarily reflect the views of the EU or the German Federal Ministry for Economic Cooperation and Development.

Technical design and development by Ashraf Bakri
 Tourism Digitalization & Development Consultant
www.ashrafbakri.com