A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
MediaData implements IContentMedia. If you only want to get images, you can call with CommerceImage instead.
I have no idea why it "suddenly" happen to you
My bad. We had some problems and modified the ValidateCorrectType() and there for a PDF was considered a valid image.
Thanks again!
Hi!
We have used the Quicksilver extension for getting images for a product. All of a sudden it also returns pdf files.
Externsion method:
Up until now the above code gave me only images. Has this function been updated?
The PDF is GenericData
And images are ImageMediaData:
/Kristoffer