Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

191
Vistas
Upload an image from JSON Schema Form to GCS but the image is not displayed on GCS (Retool)

I uploaded an image to cloud storage with a JSON Schema Form on Retool:

enter image description here

This is the JSON Schema:

{
  "type": "object",
  "properties": {
    "image": {
      "type": "string",
      "format": "data-url",
    }
  }
}

This is the image I uploaded:

enter image description here

Then, I could upload the image successfully with the query settings:

enter image description here

This is the uploaded image on cloud storage:

enter image description here

However, on cloud storage, when opening the "Object details" of the image, the image was not displayed:

enter image description here

Moreover, when opening the Authenticated URL of the image, the image also was not displayed:

enter image description here

Are there anything missing for what I've done?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

This code for "Upload data" contains not just the "Image Data" but also other data like the "Content-Type", the "File Name" and the "Encoding Schemes":

enter image description here

{{ form.data.image }}

So you need to extract only the "Image Data" with this code:

{{ form.data.image.split(',')[1] }}

In addition, for "Upload file name",

enter image description here

You can extract the "File Name" "orangeHoney.jpg" as well with this code:

enter image description here

{{ form.data.image.split("name=")[1].split(";")[0] }}

This is the uploaded image on cloud storage uploaded with the 2 sets of code above:

enter image description here

Then, on cloud storage, when opening the "Object details" of the image, the image was displayed:

enter image description here

Moreover, when opening the Authenticated URL of the image, the image also was displayed:

enter image description here

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda