-
-
Notifications
You must be signed in to change notification settings - Fork 237
FEATURE: Support dimensions and cropping for SVG Images #5658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 9.1
Are you sure you want to change the base?
Conversation
9b445d2 to
c528af0
Compare
mficzel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks al lot generally looks fine:
- Please rebase on 9.1 and adjust the target branch
- Inline the for loop in the applySvgAdjustments method as requested seperately
| * @param array<ImageAdjustmentInterface> $adjustments | ||
| * @return ImageInterface | ||
| */ | ||
| protected function applySvgAdjustments(ImageInterface $svgImage, array $adjustments): ImageInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you inline this. The foreach in an external function has no benefit bur makes reading harder.
|
I tried to adjust and rebase this but i am not allowed to push to this branch. I suspect that queo has a policy that will not allow non members to push to queo repositories. Can you move this branch to a personal fork and recreate this pr with allow push from maintainers. |
| "enshrined/svg-sanitize": "^0.22.0", | ||
| "neos/imagine": "^3.1.0", | ||
| "imagine/imagine": "*", | ||
| "contao/imagine-svg": "^1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should also be added to the composer json of the neos-development-collection
|
Alternative könnte ich einen neuen branch anlegen und deinen commit cherry picken will das aber ungern ohne dein OK machen |
|
Like this? |
Feature: #5652
Upgrade instructions
./flow media:refreshsvgdimensionsChecklist
FEATURE|TASK|BUGFIX!!!and have upgrade-instructions