mirror of
https://github.com/BradNut/weddingsite
synced 2025-09-08 17:40:36 +00:00
Add transformation to build 64.
This commit is contained in:
parent
a67e16122b
commit
6ac507e1f1
1 changed files with 3 additions and 1 deletions
|
|
@ -5,7 +5,8 @@ export default async function buildBase64Data(
|
|||
cloudinaryUrl,
|
||||
imageSource,
|
||||
alt,
|
||||
additionalProps = {}
|
||||
additionalProps = {},
|
||||
transformations = {}
|
||||
) {
|
||||
let imagePath = imageSource;
|
||||
if (cloudinaryUrl) {
|
||||
|
|
@ -17,6 +18,7 @@ export default async function buildBase64Data(
|
|||
cloud: {
|
||||
cloudName,
|
||||
},
|
||||
transformations,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue