How can I upload some png files so I can use them in my application?

  • 0
  • 1
  • Question
  • Updated 4 years ago
  • Answered

I have some additional image files that are not in the Icon library....how can I use them in my application.  They are .png files.  So I need a place to store them and the ability to use "<img src= to retrieve them.  Can you help?

Photo of Doug Swanson

Doug Swanson

  • 0 Points

Posted 4 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,204 Points 20k badge 2x thumb
Create a table with a file attachment field and upload your images to this table. The URL address of the file can be formed in one of two ways:

https://quickbase.com/up/bdb5rjd6h/a/r13/e8/v0


https://quickbase.com/up/bdb5rjd6g/g/rz/ey/va/Model_T.jpg

See the docs

http://www.quickbase.com/api-guide/index.html#filemanagement.html


Now you have your image hosted so just write the <img> tag and make the src attribute have the value of the URL for the file you just uploaded like this:

<img src=https://quickbase.com/up/bdb5rjd6g/g/rz/ey/va/Model_T.jpg>
Photo of Coreen

Coreen

  • 10 Points
Hi noticed when I used the img src tag, I'm able to view the image, but my users are unable to view the image. (They see an X) is there a way to solve this?