I upload image from nodejs to vue And put the image in v-card
But the image is cut off
how to resize the image by not cutting?
I upload image from nodejs to vue And put the image in v-card
But the image is cut off
how to resize the image by not cutting?
I understand this question has been answered long back but adding my answer to help the community.
The code below is not specific just for
vuetify.js
but this can also be used in anyvue.js
projects - just change the markups. And if you modify a bit then this can also be used in React, Angular or any JS frameworks.Answers that helped me to complete this answer:
look this site. practice step by step https://www.npmjs.com/package/vue-image-upload-resize
Use 'contain' attribute in v-img
check https://vuetifyjs.com/en/components/images#api for more information