Commons Images

Component ID

2001714

Component name

Commons Images

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1029

Component created

Component changed

Component body

Provide Image functionality for the Drupal Commons distribution.

Dependencies

The module adds an image field to all Commons node types (that use hook_commons_entity_integration()). It adds an Insert button by default to let users insert the image in the WYSIWYG interface. If you don't want to use the Insert function or if you want to use Plupload instead you can make this known using hook_commons_entity_integration() like this:

<?php
/**
 * Implements hook_commons_entity_integration.
 */
function MYMODULE_commons_entity_integration() {
  return array(
    'node' => array(
      'NODE_TYPE' => array(
        // Use Plupload, default is FALSE.
        'enable_plupload' => TRUE,

        // Disable Image Insert, default is FALSE.
        'exclude_image_insert' => TRUE,
      ),
    ),
  );
}
?>

Development of this module is done by LimoenGroen, Amsterdam-based Drupal specialists and sponsored by the European Space Agency.