Problem getting Netlify Large Media to work

Hi, @Munson1970, I do see Large Media installed on the other site on the account which has the API ID listed above:

5ecd098a-77a4-4dd9-90d3-1302286399b9

Note, this is the API ID (not the API key) and it is safe to post these IDs publicly.

For that site, I don’t see any media files in the deployed file list:

/robots.txt
/netlify.toml
/manifest.json
/index.html
/asset-manifest.json
/precache-manifest.cd6b392eaba523e81c7fc9123fe37cc2.js
/service-worker.js
/static/js/2.b849c971.chunk.js.map
/static/js/main.49b4cfd2.chunk.js.map
/static/js/2.b849c971.chunk.js
/static/js/runtime-main.83c3e0c4.js
/static/js/main.49b4cfd2.chunk.js
/static/js/runtime-main.83c3e0c4.js.map
/static/js/2.b849c971.chunk.js.license.txt
/static/css/main.a7b415a4.chunk.css.map
/static/css/main.a7b415a4.chunk.css

Based on this I suspected this site is embedding images as base64 encoded text in the HTML, javascript, or other site files. Next, I checked a non-working image and saw the following:

  <img class="Header_logo__y_jhg" src="data:image/gif;base64,dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9pZCBzaGEyNTY6MDMyYTZjYzExNWNjZDAwMjljOTc3NDg5Y2JhMGM3YWViOTFhOWJkNTVkMWI1Yzk0YTZiZjgyZjU0MWE0MDMzOQpzaXplIDMzMDg4Mwo=" alt="Loading...">

I decoded this base64 encoded string and see this:

$ echo "dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9pZCBzaGEyNTY6MDMyYTZjYzExNWNjZDAwMjljOTc3NDg5Y2JhMGM3YWViOTFhOWJkNTVkMWI1Yzk0YTZiZjgyZjU0MWE0MDMzOQpzaXplIDMzMDg4Mwo=" | base64 --decode
version https://git-lfs.github.com/spec/v1
oid sha256:032a6cc115ccd0029c977489cba0c7aeb91a9bd55d1b5c94a6bf82f541a40339
size 330883

This is a Git LFS text pointer instead of the image itself. This is a limitation of Large Media as documented here, quoting:

Files tracked with Large Media are uploaded directly to the Netlify Large Media storage service on push, completely bypassing the site build. This saves build time, but also means that the files are not available to tools that process asset files during the build, such as Hugo’s image processing or the gatsby-image plugin. Depending on your needs, you may be able to replace this functionality with Netlify’s image transformation service.

To summarize, either the site build will need to be changed to store the images in their original format or the Large Media add-on will need to be removed for this site.

If you want to uninstall Large Media for this site, would you please confirm you have read the following Support Guide?

If you have read that, please confirm you have backups of all files and let us know you are ready for the add-on to be removed.

​Please let us know if there are any questions and/or if we should uninstall Large Media for this site.