Giter Club home page Giter Club logo

Comments (4)

matjack1 avatar matjack1 commented on August 24, 2024 1

Sorry, I cannot reproduce, I've tried with another SVG ( https://www.datocms-assets.com/249/1557836703-star.svg ) and it worked.

I cannot access your SVG instead, it gives me a 401. Can you please share the image in another way?

I'm going to close now, but feel free to open again if you can reproduce again or if you can provide more info.

from js-datocms-client.

timvandevelde-voormedia avatar timvandevelde-voormedia commented on August 24, 2024

I'm using the Ruby gem to upload images. Images uploaded by content API have the CORB issue in Chrome. Manually uploaded images do not.

https://huisdepinto.netlify.com/nieuws/

Center card background is manually uploaded. The others with the client. (WIP, content might change)

from js-datocms-client.

edwinw6 avatar edwinw6 commented on August 24, 2024

@matjack1: To add on @timvandevelde-voormedia message:

This image is uploaded via the website and returns an image/jpeg content type (display in browser with Chrome):
https://www.datocms-assets.com/15059/1565721602-1-elbohemio-sfeerplaat.jpg

This image was uploaded via the API and returns an application/x-www-form-urlencoded content type (displays as download in Chrome):
https://www.datocms-assets.com/15059/1565718236-8u1u6l92s4zaterdag21zondag22junibrdagvandearchitectuuramsterdam591.jpg

When displaying the images on a website, the second won't work in Chrome (CORB issue).

We're not sure if the issue is in the API libraries as we were using Ruby and this issue is reported for JS. This might indicate the issue lies in the Dato API/backend. If we need to file this elsewhere, please let us know!

from js-datocms-client.

matjack1 avatar matjack1 commented on August 24, 2024

Sorry for the long delay but meanwhile something has changed in our API.

I'm going to close this for now, but please comment and reopen if it's still affecting you.

from js-datocms-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.