Rick
CDCloudflare Developers
•Created by Rick on 1/30/2025 in #workers-help
Unable to upload image to R2 via workers
Thank you @.Mass. . I think I have found out the issue. I am doing local dev and my uploads are getting stashed in the local r2.
the linked repo helped me find that I need to use the
--remote
arg to use the cloud based r2 instance.
Would have helped if the R2 docs had this written anywhere. I found most of this info in the workers docs.5 replies
CDCloudflare Developers
•Created by Rick on 1/30/2025 in #workers-help
Unable to upload image to R2 via workers
Furthermore, when I print the r2Object, the output suggests that the upload was successful. But I cannot see the images in my bucket via the dashboard, nor can I access them using the custom domain. Anything that I directly upload to the bucket using the web dashboard can be seen and accessed via the custom domain.
5 replies
CDCloudflare Developers
•Created by Rick on 1/24/2025 in #workers-help
unable to lazy load images
Thanks! it might be the issue with the element not having height or width. Let me check. Thanks for pointing me the right way!
4 replies
CDCloudflare Developers
•Created by Rick on 1/24/2025 in #workers-help
unable to lazy load images
This works
This doesn't
4 replies