Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Max Size #78

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

Merged
colbyfayock merged 8 commits into main from feat/62-maxsize
Sep 20, 2023
Merged

Max Size #78

colbyfayock merged 8 commits into main from feat/62-maxsize
Sep 20, 2023

Conversation

@colbyfayock
Copy link
Collaborator

@colbyfayock colbyfayock commented Sep 18, 2023
edited
Loading

Description

Allows the ability to pass in the maxSize option where you can configure a maximum width and height to use for images.

Images will automatically resize down to the maximum values preserving the aspect ratio.

It will also not upscale, only downscale.

[plugins.inputs.maxSize]
width = 1200
height = 800

Issue Ticket Number

Fixes #62

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
  • I have created an issue ticket for this PR
  • I have checked to ensure there aren't other open Pull Requests for the same update/change?
  • I have performed a self-review of my own code
  • I have run tests locally to ensure they all pass
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes needed to the documentation

Copy link

netlify bot commented Sep 18, 2023
edited
Loading

Deploy Preview for netlify-plugin-cloudinary ready!

Name Link
🔨 Latest commit 8454bb0
🔍 Latest deploy log https://app.netlify.com/sites/netlify-plugin-cloudinary/deploys/650b15047adaf5000811dc36
😎 Deploy Preview https://deploy-preview-78--netlify-plugin-cloudinary.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@colbyfayock colbyfayock merged commit 57cb8fb into main Sep 20, 2023
@colbyfayock colbyfayock deleted the feat/62-maxsize branch September 20, 2023 16:00
github-actions bot pushed a commit that referenced this pull request Sep 20, 2023
# [1.11.0](v1.10.2...v1.11.0) (2023年09月20日)
### Features
* Max Size ([#78](#78)) ([57cb8fb](57cb8fb)), closes [#11](#11) [#62](#62)
Copy link

🎉 This PR is included in version 1.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

matiasfha pushed a commit to matiasfha/netlify-plugin-cloudinary that referenced this pull request Sep 23, 2023
# Description
Allows the ability to pass in the maxSize option where you can configure
a maximum width and height to use for images.
Images will automatically resize down to the maximum values preserving
the aspect ratio.
It will also not upscale, only downscale.
```
[plugins.inputs.maxSize]
width = 1200
height = 800
```
## Issue Ticket Number
<!-- Specifiy which issue this fixes by referencing the issue number
(`cloudinary-community#11`) or issue URL. -->
<!-- Example: Fixes
cloudinary-community#1 -->
Fixes cloudinary-community#62 
## Type of change
<!-- Please select all options that are applicable. -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update
# Checklist
<!-- These must all be followed and checked. -->
- [ ] I have followed the contributing guidelines of this project as
mentioned in [CONTRIBUTING.md](/CONTRIBUTING.md)
- [ ] I have created an
[issue](https://github.com/colbyfayock/netlify-plugin-cloudinary/issues)
ticket for this PR
- [ ] I have checked to ensure there aren't other open [Pull
Requests](https://github.com/colbyfayock/netlify-plugin-cloudinary/pulls)
for the same update/change?
- [ ] I have performed a self-review of my own code
- [ ] I have run tests locally to ensure they all pass
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes needed to the documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Feature] Max image dimensions configuration for images

2 participants

AltStyle によって変換されたページ (->オリジナル) /