jolicode / jolicode/MediaBundle

Move srcset generation from Twig to Resolver

Open
#81 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
118
Forks
13
Avg merge
22h 54m
Merged PRs (30d)
3

Description

The ratio support within variations is great! The only thing, having to manually define the `srcset` on the `img` as it's Twig that solely renders it.

Move srcset generation from Twig to Resolver to make the Twig component more lightweight, and to allow others to leverage that functionality.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.