Automattic / Automattic/jetpack-wp-galleries

Use Picture Tag and responsive Images in Gallery

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
1
Forks
3
PR merge metrics
No merged PRs in 30d

Description

It would be nice if the Gallery would use the picture Tag and the sizes defined in the functions.php.

Like if you have your responsive images set up like described here [https://www.elegantthemes.com/blog/tips-tricks/integrate-picturefill-with-wordpress-and-make-images-responsive](https://www.elegantthemes.com/blog/tips-tricks/integrate-picturefill-with-wordpress-and-make-images-responsive), the gallery could hook into the add_picture_sources function and we would have nice responsive images for every viewport.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading functions.php and locating the Gallery implementation and its add_picture_sources hook. Confirm how the sizes defined there are exposed to gallery images, then verify that the gallery outputs picture elements with responsive sources for each viewport described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.