Skip to content

3rd party integrations with AEM Assetpicker (drupal, wordpress, jira etc.)

Notifications You must be signed in to change notification settings

abhishekarora12/aem-assetpicker-integrations

Repository files navigation

AEM Assetpicker Integrations

3rd party integrations with AEM Assetpicker (drupal, wordpress, jira etc.)

Wordpress Plugin

  • Contributors: Abhishek Arora
  • Tags: block
  • Tested up to: 6.0
  • Stable tag: 2.1.0

Description

Embed an image or video asset from AEM Digital Assets Manager in your wordpress instance

Installation

Wordpress

  1. Download the latest wordpress_plugin.zip from releases section
  2. Install the plugin through the WordPress plugins screen directly
  3. Activate the plugin through the 'Plugins' screen in WordPress

AEM (Required for renditions)

  1. Download the latest aem_package.zip
  2. Install the package in aem through /crx/packmgr

Build

  1. Clone the git repo
  2. Put the entire aemassetpicker folder in wordpress/wp-content/plugins
  3. Make sure you have the latest version of npm installed and running in terminal (npm -v)
  4. Open terminal(mac) or cmd(windows)
  5. For development (incremental builds) run - "npm run start:all"
  6. Now you can start your development
  7. For producing a single build run - "npm run build:all"

Screenshots

aemassetpicker_screenshot1

aemassetpicker_screenshot2

Troubleshooting

Asset renditions are not getting loaded

Solution - If you are getting a cors issue while loading renditions from aem, please add an entry in "Adobe Granite Cross-Origin Resource Sharing Policy" for your wordpress server in Webconsole - /system/console/configMgr (see screenshot below)

  • Add your aem instance path in Allowed Origins

aemassetpicker_aem_cors_solution

Changelog

Release - 2.1.0

Added

Asset Metadata

Add option to switch to static renditions only

Bug Fixes

Release - 2.0.0

Added

Dynamic Media Renditions

Bug Fixes

Release - 1.2.0

Added

Asset resizing

Release - 1.1.0

Added

Global settings page

Bug Fixes

Release - 1.0.0

Added

Embed image and video assets

Select asset renditions