Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@AdityaKantipudi1
Copy link
Contributor

πŸ”— Linked issue

N/A - Small enhancement adding official ImageEngine directives

❓ Type of change

  • πŸ“– Documentation
  • 🐞 Bug fix
  • πŸ‘Œ Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

πŸ“š Description

Added support for additional ImageEngine directives(modifiers) to enhance image optimization capabilities:

  1. maxDpr directive: Controls maximum device pixel ratio for responsive images
  2. download directive: Enables download behavior for images
  3. productletterbox fit option: Optimizes product image display with background and tolerance settings

All changes are documented in the ImageEngine provider tests with comprehensive test cases covering each new directive.

References:

@codecov-commenter
Copy link

codecov-commenter commented Feb 11, 2025

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 64.28%. Comparing base (03f631f) to head (78a24c1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1701      +/-   ##
==========================================
+ Coverage   64.25%   64.28%   +0.02%     
==========================================
  Files          79       79              
  Lines        3696     3699       +3     
  Branches      426      426              
==========================================
+ Hits         2375     2378       +3     
  Misses       1296     1296              
  Partials       25       25              

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

Copy link
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you ❀️

@danielroe danielroe merged commit 2366f74 into nuxt:main Mar 7, 2025
3 checks passed
@github-actions github-actions bot mentioned this pull request Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants