Skip to content

Commit

Permalink
show full thumbnail image and maintain aspect ratio without cropping
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgallant committed Aug 31, 2023
1 parent 60abf3c commit f56d9d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/next-tinacms-cloudinary/src/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,14 @@ function getCloudinaryToTinaFunc(opts: CloudinaryOptions) {
directory,
src: file[sel],
thumbnails: {
'75x75': transformCloudinaryImage(file[sel], 'w_75,h_75,c_fill,q_auto'),
'75x75': transformCloudinaryImage(file[sel], 'w_75,h_75,c_fit,q_auto'),
'400x400': transformCloudinaryImage(
file[sel],
'w_400,h_400,c_fill,q_auto'
'w_400,h_400,c_fit,q_auto'
),
'1000x1000': transformCloudinaryImage(
file[sel],
'w_1000,h_1000,c_fill,q_auto'
'w_1000,h_1000,c_fit,q_auto'
),
},
type: 'file',
Expand Down

0 comments on commit f56d9d9

Please sign in to comment.