Open epubreader opened 2 months ago
why image file extension removed when I use cloudinary react? but nodejs api contains file extension, for example ".jpg"
`export default function AvatarImage({ photo, width, height }) {
const { public_id: publicId, version } = photo; const cloudinaryImage = cld.image(publicId); cloudinaryImage .resize(scale().width(width).height(height)); return ( <AdvancedImage cldImg={cloudinaryImage} width={width} height={height} alt={`Image ${publicId}`} /> );
}`
Hey @epubreader. What are you passing the public ID in each instance? As per our documentation, the file extension is actually a separate parameter, and doesn't include the extension.
why image file extension removed when I use cloudinary react? but nodejs api contains file extension, for example ".jpg"
`export default function AvatarImage({ photo, width, height }) {
}`