Implement Lightbox for Images on Drupal.org Module Page to Replace Current In-Page Opening

Created on 22 August 2023, over 1 year ago

Problem/Motivation

Currently, on the Drupal.org module page, images open on the same page, forcing users to click the back button to return to the previous page. This behaviour can be disruptive to the browsing experience. Implementing a Lightbox to display images would provide a more user-friendly approach.

Steps to reproduce

  1. Go to the Drupal.org module page.
  2. Click on an image.
  3. Observe that the image opens on the same page, requiring users to click the back button to return.

Proposed resolution

Implement a Lightbox functionality for images, allowing them to be displayed in a pop-up overlay on the same page without requiring the user to leave the page.

Remaining tasks

  • Identify the existing code responsible for opening images on the same page.
  • Implement the Lightbox functionality.
  • Test the new implementation across various browsers and devices.

User interface changes

Images will now open in a Lightbox overlay within the same page, providing a more cohesive browsing experience. No other UI changes are anticipated.

API changes

No API changes required for this issue.

Data model changes

No data model changes required for this issue.

Release notes snippet

Enhanced user experience on the Drupal.org module page by implementing Lightbox functionality for images. Images now open in an overlay within the same page, eliminating the need to navigate back to the previous page.

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇦🇺Australia amjad1233 Brisbane

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024