I’m having trouble getting image transforms to work on images hostd on NLM. I can see the following image inside the NLM section in the Netlify admin dashboard for the site:
And I can access the image on the site here: https://admiring-hugle-532584.netlify.app/img/img20210428104708.jpg
But when I try to add the transform query params it’s still serving the full resolution image: https://admiring-hugle-532584.netlify.app/img/img20210428104708.jpg?nf_resize=smartcrop&w=30
I’m honestly not sure what I’m doing wrong. I’ve already double-checked
git lfs ls-files, have already done a
git lfs push --all origin, have double checked that the content type of the response is indeed
image/jpeg instead of something strange, but it still doesn’t get transformed. What could I be missing?
Furthermore, I’ve uploaded a couple of other images through NetlifyCMS, and they’re supposed to be stored in NLM, and I do see them show up in
git lfs ls-files, and I do see the pointers files committed in the remote repository, and they are added to the
public folder (I’m using Gatsby) on build, which is then deployed to Netlify (I’m deploying manually, via the Netlify CLI from my local machine); but the links to these files somehow seem broken? See https://admiring-hugle-532584.netlify.app/. I also don’t seem to see these images under the NLM section of the Netlify admin console for the site. Is NetlifyCMS somehow failing to push them to NLM or am I missing something?
My git lfs is on version 2.13.3, which should be fine from what I’ve been able to gather so far.
Thanks for your help