<twig:img> responsive images inspired by <NuxtImg> #3121
Replies: 4 comments
-
That's would be a great addition, I know @WebMamba already started to work on something, but he's gone to travel the world ⛵ |
Beta Was this translation helpful? Give feedback.
-
@Kocal glad to hear that. What would be the next steps? Changing namespaces and creating PR? |
Beta Was this translation helpful? Give feedback.
-
Wow I remember giving Matheo some code i made a few years back on that topic... and listed all the features a "UX Image" component should have imho... Well... your bundle does absolutely all of that, it's amazing :) Let's open a PR and work on it! Symfony\UX\Image would be the perfect PSR namespace ! Also we use the "now-recommanded" bundle structure .. probably simpler if you change it before opening the PR ? |
Beta Was this translation helpful? Give feedback.
-
Hi @razbakov : still motivated about this? I have to admit this was pretty high on my to-do list for UX and I'd love to work with your proposal here... The alternative is to start from scratch. Well... from the code/samples I showed the team almost a year ago, but it was still taken from an old project I did years ago, even before TwigComponent existed so... We'd start smaller --that can be in the "pros" column-- but we would have to redo a lot of things you already did... and redoing open source work is definitely something I'd put in the "cons" column 😅 I'm open to any suggestion: we can give you guidance/help, or dive deep and help you make this great start into a superb UX Image component. Or anything in between. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The Symfony Responsive Image Bundle is designed to address modern performance requirements, particularly Core Web Vitals. Inspired by NuxtImg
Would it be a good idea to add this to Symfony UX?
Beta Was this translation helpful? Give feedback.
All reactions