Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Automatic site icon picker

Security covered Under active development 6 sites

This module automatically retrieves and downloads a website's favicon from a provided URL using the Vemetric Favicon API. It efficiently caches favicons to avoid redundant requests and can display just the icon, text with an icon, or a link with an icon.

Automatic Site Icon Picker provides a configurable field formatter for Drupal Link fields, enabling automatic retrieval, local storage, and display of website favicons through the Vemetric Favicon API.

The module enhances the presentation of external links, social media profiles, academic profiles, and other web resources while reducing the need for manual icon management.

Features

  • Automatic favicon retrieval and local storage.
  • Three display modes: icon only, icon with URL, and icon with title.
  • Preset and custom icon sizes ranging from 16 to 512 pixels.
  • Option to open links in a new tab.
  • Domain-specific custom icon overrides.
  • Configurable fallback icon for unavailable favicons.
  • Support for PNG, JPEG, GIF, WebP, and sanitized SVG uploads.
  • Configurable automatic favicon refresh intervals.
  • Manual clearing of downloaded icons.
  • Targeted cache invalidation when icons change.
  • Retention of previously verified icons during external service failures.
  • Preservation of site-specific settings during standard configuration synchronization.

Requirements

  • Drupal core Field, Link, File, and Image modules.
  • A writable public files directory.
  • Outbound HTTPS access to favicon.vemetric.com for automatic favicon retrieval.

Configuration

  1. Enable the module.
  2. Navigate to Manage display for an entity type containing a Link field.
  3. Select the Link (favicon) field formatter.
  4. Configure the display mode, icon size, and link behavior.
  5. Save the display configuration.

Domain-specific icons, the fallback icon, automatic refresh intervals, and downloaded icons can be managed under Configuration > Media > Automatic site icon picker (/admin/config/media/automatic-site-icon-picker).

The configuration page is available since version 3.0.0 and requires the Administer automatic site icon picker permission.

External service and privacy

Automatic favicon retrieval sends the normalized domain name and requested icon size to the external API. Full destination URLs, paths, and query parameters are not transmitted. Domain-specific custom icons are served locally without external API requests.

Automated testing

The module includes unit, kernel, and browser tests covering formatter rendering, domain normalization, icon sizing, image handling, cache invalidation, automatic refresh, fallback behavior, and configuration management.

Automated testing is integrated into GitLab CI for supported Drupal core versions.

Support and contributions

Bug reports, feature requests, documentation improvements, and contributions are welcome in the project issue queue.

Drupal 10–11

Ask your assistant about Automatic site icon picker

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • field Drupal core
  • file Drupal core
  • image Drupal core
  • link Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
9
Tracked since
Feb 2023
Latest release
3 days ago
Releases (12 mo)
3 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.0 Stable 10–11 Nov 26, 2026
2.0.1 Stable 10–11 Dec 8, 2025
2.0.0 Stable 9–11 Dec 5, 2025
1.1.5 Stable 8–10 Jan 16, 2025
1.1.4 Stable 8–10 Jan 16, 2025
1.1.1 Stable 8–11 Mar 17, 2024
1.0.3-beta2 Pre-release 8–10 Mar 17, 2024
1.0.x-dev Dev 8–11 Feb 23, 2023
1.0.3-beta1 Pre-release 8–10 Feb 23, 2023