luwes / luwes/eleventy-plugin-sharp
Only generates one images size and source
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
I installed the plugin and setup a test case with the same code from the readme. Interesting enough, it only generates the first size (width: 1440, height: 460). It feels like using the getUrl with the resize filter somehow memorizes the given options and then applies them to all other occurrences of getUrl | Filter.
That's what the output looks like:
```
```
@luwes Can you confirm that the example in the readme works the way you think it should?
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 with the README example and reproduce the picture element using multiple getUrl resize filters. Inspect the plugin entry points handling getUrl and resize options, then verify that each generated source uses its requested dimensions rather than the first size. Done means the output contains distinct image sizes for the configured occurrences.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100