Hi, I want to use
asImageSrc function to make my images blurred while loading.
I was trying to implement the function according to those documents mentioned Imgix using:
- Configure the Image Field - Prismic
- @prismicio/helpers Technical Reference - Prismic
I have installed @prismicio/helpers - v2 in my project. But I still got error when I called
What else should I deal with this situation? Did I missed anything in my implementation?
Thanks for reaching out to us.
It should work if you have installed
@prismicio/helpers - v2. Could you delete node modules and install them again?
If it still doesn't work, I'd need your project details. You can send me a private message.
Hi @Priyanka ,
I uninstalled the
@prismicio/helpers - v2 package and reinstalled it. Didn't get error anymore. I can reach the
asImageSrc function normally. Thanks for your solution!
@prismicio/helpers - v2 was upgraded from version
I am glad that It worked for you.
^2.3.1 is the latest version of
@prismicio/helpers - v2.