Hey everyone thank you for the help in advance, i am having a hard time getting the Large Media to work. I am using create-react-app so i am not sure if that falls under one of the limitations listed in the docs, but i figured i should throw that out there
Ive gone through all the setup and this is my response when i run netlify lm:info
And the files i want to be uploaded do appear when i run git lfs ls-files (i cant attach another image as i am a new user but trust me they do show up haha)
However after i implemented all this the pictures stopped showing up on the live site and they do not show up under the large media tab on the netlify dashboard, ive looked through a lot of the posts here where there were similar problems but none of their solutions really helped me much. I was just going to disable it but apparently its harder that it sounds so i decided to try and fix it first. Any help would be appreciated, thank you
I decoded this base64 encoded string and see this:
$ echo "dmVyc2lvbiBodHRwczovL2dpdC1sZnMuZ2l0aHViLmNvbS9zcGVjL3YxCm9pZCBzaGEyNTY6MDMyYTZjYzExNWNjZDAwMjljOTc3NDg5Y2JhMGM3YWViOTFhOWJkNTVkMWI1Yzk0YTZiZjgyZjU0MWE0MDMzOQpzaXplIDMzMDg4Mwo=" | base64 --decode
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.
Thanks for letting us know you want to uninstall the Large Media add-on for your 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 which site to remove Large Media from. To identify the site, you can send us the site subdomain, API ID (the id not the key), or a link to the site (whichever you prefer).
Once we know which site, we’ll reply soon to confirm the add-on has been uninstalled.
Please let us know if there are any questions and, if not, please tell us the site to do this for.
I don’t know as you haven’t shared the details with us. Also, there appear to be three separate topics where you are asking questions about this. Let’s keep all the questions to a single topic going forward. I won’t reply to other topics about this so please keep all questions about the Large Media issue here.
Is this the correct site id (cd3b5304-e96f-42ed-ba4a-f5058018bba1)?
If so, I can remove the Large Media add-on but it won’t restore your local files.
Regarding how to get your repository back to the state it was in before, how to do that depends on what you did to get it into the current state and what the issue is. However, you haven’t shared those details here.
Would you please tell us more about what is happening? What actions have you taken and when the the issue start occurring?
If you want us to proceed with uninstalling Large Media or if there are other questions, please let us know.
yeah, I tried finding solutions elsewhere, sorry for that. this is the correct site id. and about the large media add on, I needed to load images faster, so I started looking into cloud servers but while reading docs I got into large media plugin. now, I also need link to all the images individually to add to the db, so that its easier to add next time which I assume I won’t be able to have with the plugin. on Saturday, I tried to do something during which I lost all my files including remote repos, but since I deployed it once before adding large media I was able to retrieve data till that point. The current state of my remote repo is not linked with large media but I am assuming it is in my netlify account. My question is, a. would it be easier to add new folders of images to large media then maybe some other cloud server? and b. If so, then do I need to link my current remote repo and set up large media again with the site? Also, I tried some other things as well all leading to some other kinds of errors but mostly, I haven’t deployed my changes since the last time I asked here about not being able to see images in large media on my netlify account. Thanks a lot for your patience! I am fairly new so grateful for any help you provide!
Hi, @afsheen. Large Media is a Git LFS service. The Git LFS service is normally provided by the upstream Git repository host (GitLab, Bitbucket, and GitHub). Moving the Git LFS service to Large Media enables browse time image transformations (as opposed to build time transformations).
Using Large Media isn’t required. You can use Git LFS and not use Large Media.
Using Large Media is optional. If we uninstall the Large Media add-on for the site, it doesn’t change anything with the repo itself. It just disables our Git LFS service at Netlify for this site. It won’t stop you from using Git LFS itself.
About these questions:
would it be easier to add new folders of images to large media then maybe some other cloud server?
I don’t know. That depends on the other cloud server and how you define “easier”.
If so, then do I need to link my current remote repo and set up large media again with the site?
If you are using some other cloud hosting for images, Large Media would not be used.
Do you want to remove the Large Media add-on to remove that factor from troubleshooting? Do you want to try to get Large Media working for you?
Hi @Luke , thanks for being really patient with me! my easier would be, if its some non coder, would they be able to easily upload new folders on large media as well? I wanna try to get large media to work here.
Hi, @afsheen. When uploading files using Git LFS some credential must be used. If you are using Large Media for Git LFS, then your Netlify credentials are used for the Git LFS files and all files not using Git LFS use your credentials for the Git host.
If you want someone else to upload file to Large Media they would either need to be a member of your team at Netlify (and there is a monthly charge for additional team members) or you would need to use a CMS and Git Gateway to allow other to git push using your credentials.
If you want to get Large Media working, it would help us to know what type of issue is occurring. What isn’t working? What error message do you see and what are you doing when you see it?