•   over 12 years ago

Format of art image to upload

What should the format be for uploading art? Blob? Base64? Image/JPG? etc.

  • 7 comments

  • Manager   •   over 12 years ago

    Either a JPG or PNG image should be ok. It gets converted to a PNG... and the original is discarded.

  •   •   over 12 years ago

    Thanks. Also, is CORS enabled for post requests? Trying to hit it, but the access-control-allow-origin header is missing from the server.

  • Manager   •   over 12 years ago

    will check...

  • Manager   •   over 12 years ago

    I just added the decorator:
    @cors.crossdomain(origin='*')
    to all the HTTP verbs... hopefully that will work... let me know if it doesn't.

  •   •   over 12 years ago

    Actually may have broken all requests. :P

  • Manager   •   over 12 years ago

    I'm going to have to revert this change. I was trying to add CORS for POST...

  •   •   over 12 years ago

    That's fine. Teams simply may not have registration or upload functionality for tomorrow, but maybe we can all simulate up to the point of actually registering a new artist or adding/editing data.

Comments are closed.