magento / magento/community-features
Image Resizer should be in Core
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 46
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Hello together,
it is really a tiresome topic to reduce images in template or modules to a certain size.
There are countless helpers that would not be necessary if this was already in the core.
```
getViewFileUrl('Magento_Theme::images/big.jpg'); ?>
https://www.domain.de/static/version/frontend/vendor/store/en_EN/Magento_Theme/images/big.jpg
```
As a rough example
```
getViewFileUrlAndResize('Magento_Theme::images','50','50','big.jpg'); ?>
https://www.domain.de/static/version/frontend/vendor/store/en_EN/Magento_Theme/images/50x50/big.jpg
```
Thus it would be at least possible to reduce the images on each module simply
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the mentioned getViewFileUrl entry point and the Magento_Theme::images path to determine where view-file URLs are generated. Done means templates or modules can request a resized image and receive a URL containing the requested dimensions, as illustrated in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100