Skip to content
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

[Feature] Export constructCloudinaryUrl #170

Closed
colbyfayock opened this issue Mar 30, 2023 · 1 comment · Fixed by #175
Closed

[Feature] Export constructCloudinaryUrl #170

colbyfayock opened this issue Mar 30, 2023 · 1 comment · Fixed by #175
Labels

Kommentare

@colbyfayock
Copy link
Collaborator

Feature Request

Is your feature request related to a problem? Please describe.

export the constructCloudinaryUrl function from Util

wrap it though so that we can provide a default config object of the configured cloudinary cloud name and analytics

Describe the solution you'd like

Describe alternatives you've considered

Additional context

colbyfayock added a commit that referenced this issue Apr 3, 2023
# Description

Creates `getCldImageUrl` which is a wrapper around
`constructCloudinaryUrl` which adds the default config and analytics
options, allowing the first parameter to just be the options

This allows for URL construction using the same CldImage props

## Issue Ticket Number

Fixes #170 

<!-- Specify above which issue this fixes by referencing the issue
number (`#<ISSUE_NUMBER>`) or issue URL. -->
<!-- Example: Fixes
https://github.com/colbyfayock/next-cloudinary/issues/<ISSUE_NUMBER> -->

## 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)
- [ ] Fix or improve the documentation
- [ ] 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/next-cloudinary/issues) ticket
for this PR
- [ ] I have checked to ensure there aren't other open [Pull
Requests](https://github.com/colbyfayock/next-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
github-actions bot pushed a commit that referenced this issue Apr 3, 2023
# [4.3.0](v4.2.0...v4.3.0) (2023-04-03)

### Features

* Create and export getCldImageUrl ([#175](#175)) ([f9373ee](f9373ee)), closes [#170](#170)
@github-actions
Copy link

github-actions bot commented Apr 3, 2023

🎉 This issue has been resolved in version 4.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

cham74 added a commit to cham74/next-image-delivery that referenced this issue Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant