Skip to main content
Question

embed image in form

  • May 20, 2014
  • 0 replies
  • 252 views

I would like to embed a .jpg image in one of my Forms. How is this done.

This topic has been closed for replies.

If its a fixed logo, typically the company logo then you can have a form element like this one

<i m g src="https://mycompany.quickbase.com/up/xxxxxx/g/rt/eh/va/Division9LogoSmall.jpg">



Typically you set up a logo table and then click the link to view the logo. Then copy that URL which you see and make a bit of html code like the above



The first part is <img src= but I put in some spaces to make it work on this forum.

  • Quickbase Alumni
  • June 27, 2014
Mark...when you say "form element", what type of field do you copy/paste the above into? I've tried Formula Text and Formula URL and it's not working for me. :(   I do have the doc saved in a document table, i clicked the link like you suggested, copied/pasted it into the formula text or URL field, but like i said...no luck. :(

I was suggesting that you just paste it into the form itself.  Select "text" as a form element (ie not a section heading and not a field).  Then just paste it into that box and enable the html checkbox

  • Quickbase Alumni
  • June 27, 2014
oh wow....ok, that totally worked...thank you, but now how do i make it smaller?  I read about the height and width, but cant seem to get that down either.

Here is an example which worked for me.  Note that it did not seem to need any quotes  (").  The example i posted had quotes.

<img src=https://gesco.quickbase.com/up/bbeevg2wq/g/rt/eh/va/Division9LogoSmall.jpg width=100>  

Then just play with that 100 to size it.  The other dimension (height) will autoscale so that your image does not get skewed out of shape.

  • Quickbase Alumni
  • June 28, 2014
That worked wonderfully!!  Thanks again...esp for the quick response. :)

:)

  • Quickbase Alumni
  • July 29, 2014
I have tried this and get "The text to be displayed here contains an HTML tag that is not allowed."

Can you post your code which is not working?

  • Quickbase Alumni
  • July 30, 2014

There needs to be a space in img src

  • Quickbase Alumni
  • July 30, 2014
that works. thank you.

  • Quickbase Alumni
  • January 7, 2015
Is it possible to use an image for the background? Currently adding an image using the Text field displaces the rest of the fields after it. I'd like to have a product picture and have form fields on top of the picture and fill in details related to features on the product for inspection purposes.