Forum Discussion

PaulAgnew's avatar
PaulAgnew
Qrew Trainee
5 years ago

Display Image in another app using a URL

How do I display an image stored in another app using the following URL?

<img src = https://wmt.quickbase.com/up/bnrpsnex8/a/r406/e186/v0" height="50" target=_blank />

I discovered a way to display a file attachment within the same app using the following but of course this is different case.

//"<a href=\"" & URLRoot() & "/up/"& Dbid () & "/a/r"&
//[Record ID#] &"/e11/v0\" /> "&
// "<img src=\"" & URLRoot() & "/up/"& Dbid () &"/a/r"&
//[Record ID#] &"/e11/v0\" height=\"200\"alt='' />" & "</a>"


Regards,
Paul

------------------------------
Paul Agnew
IT Manager
Peak Properties
CA
9494070409
------------------------------
  • You'll actually need to use the file link URL. If you right-click on the file attachment, select 'Copy Link Address' and use THAT URL in your formula, it should work. It would end up looking something like this:

    "<img src = 'https://wmt.quickbase.com/up/bnrpsnex8/a/r406/e186/v0/file%20name.png' height='50'>"

    ------------------------------
    Blake Harrison
    bharrison@datablender.io
    DataBlender - Quick Base Solution Provider
    Atlanta GA
    404.800.1702 / http://datablender.io/
    ------------------------------
    • PaulAgnew's avatar
      PaulAgnew
      Qrew Trainee
      Thank-you Blake.  A Formula Rich Text Field was created that referenced the field which contained the above URL and that displayed the image.

      Example record where Image_Source contents = <img src = https://hcpi.quickbase.com/up/bnrpsnex8/a/r7/e186/v0" height="50" target=_blank />
      Image_Photo (Formulta RTF) - [Image_Source]


      Regards,
      Paul

      ------------------------------
      Paul Agnew
      IT Manager
      Peak Properties
      CA
      9494070409
      ------------------------------