When I upload an image via the web CMS at my-site-name.netlify.app/admin
, the image is not picked up by the Large Media service. For example:
I have just uploaded a file called everything-happens-for-a-reason.jpg
in the image
> choose an image
> upload new
workflow.
After the build finishes, I go into my local repo folder, run git pull
and see this:
Sure enough, the entire image file is there, not the pointer. What’s more, git sees it as being modified.
I check existing large media at app.netlify.com/sites/my-site-name/large-media
and it is not listed.
Locally, I commit the change and git push
. Once the build has run, I return to the Large Media list and the file is there!
So the LFS is working with local git actions, but not from the web-based CMS.
Running netlify lm:info
returns:
√ Checking Git version [2.20.1.windows.1]
√ Checking Git LFS version [2.6.1]
√ Checking Git LFS filters
√ Checking Netlify’s Git Credentials version [0.1.9]
Here is my .gitattributes
:
public/images/** filter=lfs diff=lfs merge=lfs -text
And my .lfsconfig
is correct as well, ending in .netlify.app/.netlify/large-media
.
One more thing: Once I have gone through all the steps below ( git push
etc) so that the image files DO show up in the large media tab, their thumbnails break in the image picker in the CMS.
That’s all I know. Can you please advise? Thanks!