Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: MCP Sentinel 2.29.0 — Minor update available for module mcp_sentinel (2.29.0). Release: Audit Chain 1.10.9 — Minor update available for module audit_chain (1.10.9). Release: Menu Autopilot 1.4.7 — Minor update available for module menu_autopilot (1.4.7). Release: FileGate 1.11.3 — Minor update available for module file_gate (1.11.3). Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

The module defines 'JSON API remote URL' file field source (based on the Filefield sources 'Remote' plugin). You can setup JSON API host URL, query params to get remote (image/file) URLs in the modal browser. There is an option to set up sorting and searching configuring via JSON API filters and define default alt, title attributes for image fields and description for file fields.

Usage/features

  • Define JSON API sources - with JSON API params (filters, includes etc).
  • Set credentials in settings.php
  • Attache defined JSON API sources to file/image filed via widget settings.
  • You can attache multiple JSON API sources to file/image field.
  • You can set image style to transform remote images before saving it (e.g. to reduce file size).

Requirements

FileField Sources module.

Restrictions

  • Widget/browser doesn't support multiple selecting. This means: You can set the field cardinality to more than 1, but you can select remote images by one.

Planned features/todos

  • Credentials / defined sources, fallback to the default.
  • (Auto/optional) JSON API filters depends on field settings (e.g. allowed file extensions,
    maximum upload size)
  • Admin UI

    Manage JSON API sources

    Field widget settings

    Field image on node edit

    Modal select with multiple source/type

    Modal select (single source/type) with search filter

    Modal window - step 2

    Depends on

    Dependencies of the latest stable release

    No dependencies recorded for this project.

    Required by

    Tracked projects that depend on this one

    No tracked projects depend on this one yet.

    Activity

    Tracked releases
    1
    Tracked since
    Nov 2023
    Latest release
    2 years ago
    Releases (12 mo)
    0
    Maintenance
    Dormant

    Releases

    Version Type Core Release date
    8.x-1.0-beta11 Pre-release Nov 23, 2023