Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

190
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!